Closed
Bug 271346
Opened 20 years ago
Closed 20 years ago
page forwarded suddenly if mouse move on the interactive links
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: arif754, Assigned: bugzilla)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a5) Gecko/20041122 Firefox/0.9.1+ Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a5) Gecko/20041122 Firefox/0.9.1+ In the page http://www.kibrisgazetesi.com, Links on the main page is causing automatic forwarding of the page onto some comments of the link(i guess). So those links are inaccessible. Reproducible: Always Steps to Reproduce: 1. Just move your mouse over the link. Actual Results: Web page is automatically forward into one white page website with link text on it. Expected Results: It wouldn't forward so that you can click on the links.
Comment 1•20 years ago
|
||
onMouseOver code is being executed like this when going over the links:
MM_setTextOfLayer('Layer1','','Rüzgar esti, yağmur yağdı, ele...');
The functions:
function MM_findObj(n, d) { //v4.0
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++)
x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && document.getElementById) x=document.getElementById(n); return x;
}
function MM_setTextOfLayer(objName,x,newText) { //v3.0
if ((obj=MM_findObj(objName))!=null) with (obj)
if (navigator.appName=='Netscape') {document.write(unescape(newText));
document.close();}
else innerHTML = unescape(newText);
}
I think it's supposed to do some hovering effect which should be done with css
not javascript. Think it can be moved to Evangelism
Comment 2•20 years ago
|
||
Mozilla and Firefox behaviors are correct: they execute the code accordingly and correctly. navigator.appName for these browsers is "Netscape", so the whole page is rewritten (not forward as you thought) with unescaped value of the href attribute. The whole expected effect by the web author would be, I assume, satisfied by simply defining title attribute of/on each links.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•