Closed Bug 84923 Opened 24 years ago Closed 24 years ago

neverwinternights.com - [LAYER]Neverwinter night FAQ un-readable (bad javascript?)

Categories

(Tech Evangelism Graveyard :: English US, defect, P4)

x86
Linux
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: niles, Assigned: bc)

References

()

Details

This maybe a legit Javascript bug, but I'm betting it's a Evangelism bug of invalid Javascript. However, I really think these guys would be more likely to fix their broken Javascript that say http://www.sony.com (grrr..) Can someone figure out which it is and send a e-mail the webmaster if it really is broken Javascript?
This is due to non-standards complient code methinks. It detects either NS4 or IE4 but not apparently anything above. Setting to evangelism -mike
Layers are no longer supported. See bug 50711 for further details. Reassigning to Evangelism component. Here is a sample of the non-W3C-compliant HTML at this site: <script language="Javascript"> var bName = navigator.appName; var bVer = parseInt(navigator.appVersion); var NS4 = (bName == "Netscape" && bVer >= 4); var IE4 = (bName == "Microsoft Internet Explorer" && bVer >= 4); var NS3 = (bName == "Netscape" && bVer < 4); var IE3 = (bName == "Microsoft Internet Explorer" && bVer < 4); // LAYER SWITCHING CODE if (NS4 || IE4) { if (navigator.appName == "Netscape") { layerStyleRef="layer."; layerRef="document.layers"; styleSwitch=""; }else{ layerStyleRef="layer.style."; layerRef="document.all"; styleSwitch=".style"; } } //Show layers var onLayer = "" function showLayer(layerName){ if (NS4 || IE4) { hideLayer(onLayer) } if (NS4 || IE4) { eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.visibility="visible"'); } else { window.location.hash = layerName + "H" } onLayer = layerName } //Hide Layer function hideLayer(layerName){ if (layerName != "") { if (NS4 || IE4) { eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.visibility="hidden"'); } } } </script>
Assignee: rogerl → bclary
Component: Javascript Engine → Evangelism
QA Contact: pschwartau → zach
Summary: Neverwinter night FAQ un-readable (bad javascript?) → [LAYER]Neverwinter night FAQ un-readable (bad javascript?)
Priority: -- → P4
Arun, I'm giving you all the Linux bugs. If these bugs can be confirmed for other OS's please (someone) change the Platform/OS to All/All and reassign to the default Evangelism Component Owner.
Assignee: bclary → aruner
All Evangelism Bugs are now in the Product Tech Evangelism. See bug 86997 for details.
Component: Evangelism → US English
Product: Browser → Tech Evangelism
Version: other → unspecified
Arun, I am taking your Linux bugs minus banks. Hope you don't mind.
Assignee: aruner → bclary
Summary: [LAYER]Neverwinter night FAQ un-readable (bad javascript?) → neverwinternights.com - [LAYER]Neverwinter night FAQ un-readable (bad javascript?)
*** Bug 105100 has been marked as a duplicate of this bug. ***
they moved over to Hiermenus, fixed!
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.