Closed Bug 219223 Opened 21 years ago Closed 11 years ago

ucsb.edu - JavaScript that only works in IE

Categories

(Tech Evangelism Graveyard :: English US, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: MatsPalmgren_bugz, Unassigned)

References

()

Details

(Whiteboard: [havecontact])

Spawned off from bug 188153 comment 21. STEPS TO REPRODUCE: 1. load URL 2. hover the mouse over the slider image as page instructs you to ACTUAL RESULT: Nothing happens EXPECTED RESULT: The image should be replaced with another image
The problem is the "toggle" function in the same page: function toggle(imgID,imgObj) { if (browserVer == 1) { document.images[imgID].src = eval(imgObj + ".src") } } There is a sniffer above it which results in browserVer=2 for Mozilla.
Whiteboard: [havecontact]
perfect example of obsolete vendor version detection. they should have done something like function toggle(imgID,imgObj) { if (document.images) { document.images[imgID].src = imgObj["src"]; } } See <http://devedge.netscape.com/viewsource/2002/browser-detection/> Mats, can you go ahead and contact them?
Summary: JavaScript that only works in IE → ucsb.edu - JavaScript that only works in IE
Reply from sears@lifesci.ucsb.edu: Don't use Mozilla! Use Internet Explorer of Netscape 4.7 or IE 6+. Mozilla is major problem for web site developers because it requires too much customized attention for specialized applications. D. Sears
I'll leave this one for you Bob.
Linked site no longer exists.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.