Closed
Bug 134622
Opened 23 years ago
Closed 23 years ago
Javascript based 'pop up' menus not appearing
Categories
(Tech Evangelism Graveyard :: English Other, defect)
Tracking
(Not tracked)
People
(Reporter: mozilla, Assigned: tristan)
References
()
Details
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020310
BuildID: 2002031008
The popular 'pop-up' style menus implemented using Javascript are not
functioning on this page. The intention of the page designer was that a pop-up
menu would appear when the mouse is moved over (and not clicked) the titles
"Paper and media", "Ink cartridges" etc.
I think the problem is due to the mm_findObj function using either document.all
or document.layers to find the <div> to make it visible/hidden. This is not W3C
compliant.
What's worrying is that it is code generated by a Macromedia product -- probably
Dreamweaver - and hence will be present all over the web. Should Macromedia be
encouraged to ensure their products produce W3C compliant code?
Reproducible: Always
Steps to Reproduce:
1.Go to http://www.buyepson.co.uk
2.Move the mouse over the menus "Paper and media", "Ink Cartridges" etc.
3.Menus do not appear.
Actual Results: No menus appear
Expected Results: Pop-up Menus should appear when the mouse is moved over the
title items.
The problem piece of code operating is Macromedia's function:
function MM_findObj(n, d) { //v3.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); return x;
}
Comment 1•23 years ago
|
||
blah
*** This bug has been marked as a duplicate of 51020 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
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
•