Closed
Bug 158983
Opened 23 years ago
Closed 23 years ago
[LAYER]Bad browser-sniffing causes annoying popups on mouseover
Categories
(Tech Evangelism Graveyard :: English US, defect)
Tracking
(Not tracked)
VERIFIED
WORKSFORME
People
(Reporter: peckchristopher, Assigned: doronr)
References
()
Details
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.0) Gecko/20020530
BuildID: 2002053012
Just move your mouse over one of the 4 quick link boxes and you'll get this
annoying error. On N4.7 and IE, there is an information box that pops up and
follows the mouse. I can't say for certain, but I 'believe' this occurs also on
Linux and Mac OS X (I'm not at one of those machines right now).
At the least, if there is an error, don't make a popup window appear where you
have to click 'Okay' everytime.
Reproducible: Always
Steps to Reproduce:
1.Move mouse over one of the 4 quicklink boxes.
2.
3.
Actual Results: A javascript popup window appears everytime, and I have to
click 'Okay' to continue
Expected Results: Have an information window popup and follow the cursor
Comment 1•23 years ago
|
||
http://www.sandiegomesacollege.net/library/index.html
...
<script src="js/pop.js">
...
ONMOUSEOVER="popup('<font face=arial size=2 color=#037103><b>Search the
library catalog (<i>SandyPac</i>) to find books and audiovisual
materials.</b></font>','#FEFFD3')"
http://www.sandiegomesacollege.net/library/js/pop.js
...
if(navigator.appName=="Netscape")
{
(document.layers)?isNS=true:old=true;
}
...
function popup(_m,_b)
{
...
if(old)
{
alert(_m);
return;
}
No Mozilla error. The script used on the page is propably supposed to do some
dhtml-ish popup-bubbles on the page, but falls back to using alerts for browsers
with navigator.appName=="Netscape", that don't support document.layers browser
-- such as NS<4(or is it <3?) or Mozilla.
->evang
Status: UNCONFIRMED → NEW
Component: JavaScript Engine → US Edu
Ever confirmed: true
OS: Windows 2000 → All
Product: Browser → Tech Evangelism
Version: other → unspecified
Updated•23 years ago
|
Summary: javascript popup error occurs on mouseover → [LAYER]Bad browser-sniffing causes annoying popups on mouseover
Comment 3•23 years ago
|
||
fixed!
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
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
•