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)
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
Reporter | ||
Comment 1•21 years ago
|
||
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.
Comment 3•21 years ago
|
||
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
Reporter | ||
Comment 4•21 years ago
|
||
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
Reporter | ||
Comment 5•21 years ago
|
||
I'll leave this one for you Bob.
Comment 6•11 years ago
|
||
Linked site no longer exists.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
Updated•10 years ago
|
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•