kato-eng.com - Javascript pop-up menus don't appear (works in IE)

RESOLVED INVALID

Status

--
major
RESOLVED INVALID
16 years ago
4 years ago

People

(Reporter: Allen.Windhorn, Unassigned)

Tracking

Details

(URL)

(Reporter)

Description

16 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312

On the left-hand menu, the items "Company", "Producrs", "Parts and Service",
"Markets Server", and "Downloads" are supposed to display pop-up menus when the
mouse is moved over them.  These menus are not displayed.  This is our own web
page, so I can make the full source available, but I don't know JavaScript myself.

Reproducible: Always

Steps to Reproduce:
1.Go to www.kato-eng.com
2.Hover mouse over "Contacts" on left side of page
3.

Actual Results:  
Nothing happens

Expected Results:  
Should have displayed pop-up menu (repeat with IE to see desired behaviour)

This may be a problem with the JavaScript Engine rather than the browser.  If
so, I don't know how to fix it, and I don't know how to find out how to fix it,
and I don't know anyone who knows how to find out how to fix it.

Comment 1

16 years ago
Not JS engine, but *rotten* menu code !

Just look at this :

"<!--
n = (document.layers) ? 1:0
ie = (document.all) ? 1:0

function showtext(x) {
    if (n) document.layers[x].visibility = "show"
    if (ie) document.all[x].style.visibility = "visible"
    if (n) document.layer0.visibility = "hide"
    if (ie) layer0.style.visibility = "hidden"	
}
function hidetext(x) {
    if (n) document.layers[x].visibility = "hide"
    if (ie) document.all[x].style.visibility = "hidden"
    if (n) document.layer0.visibility = "show"
    if (ie) layer0.style.visibility = "visible"	
}
//-->"

In menu_roll_over.js (loaded by page)

"//Code for image rollovers
function changeImages()
{
        //code for Netscape4+
        if (document.layers)
        {
        for (var i=0; i<changeImages.arguments.length; i+=3) 
       
{document.layers[changeImages.arguments[i+2]].document.images[changeImages.arguments[i]].src=
        eval(changeImages.arguments[i+1] + ".src");}
        }
        else
        // code for IE4+
	if (document.images) 
        {
    	  for (var i=0; i<changeImages.arguments.length; i+=3) 
          {document[changeImages.arguments[i]].src =
eval(changeImages.arguments[i+1] + ".src");}
	}  
}"

Last loaded JS file is an hell for a JS coder. Full of document.all /
document.layers tag.

Confirming bug and moving it to tech evang, US General.
Assignee: rogerl → susiew
Status: UNCONFIRMED → NEW
Component: JavaScript Engine → US General
Ever confirmed: true
Product: Browser → Tech Evangelism
QA Contact: pschwartau → zach
Version: Trunk → unspecified

Comment 2

16 years ago
tech evang june 2003 reorg
Assignee: susiew → english-us
QA Contact: zach → english-us

Updated

16 years ago
Summary: Javascript pop-up menus don't appear (works in IE) → kato-eng.com - Javascript pop-up menus don't appear (works in IE)
(Reporter)

Comment 3

16 years ago
Deprecated HTML on this website has been replaced, so menus work now -- AEW.
BUGs 74746 and 230117 are the same.

Comment 5

5 years ago
URL forwards to another page. STR doesn't fit anymore.
[closeme]
Status: NEW → RESOLVED
Last Resolved: 5 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.