salamanderdesigns.com - Products drop down menu doesn't work in mozilla

RESOLVED FIXED

Status

Tech Evangelism Graveyard
English US
RESOLVED FIXED
15 years ago
3 years ago

People

(Reporter: Jim Dunn, Unassigned)

Tracking

Details

(URL)

(Reporter)

Description

15 years ago
Here is a snippet of code that they are using to query
browser name & type which they later use to create the
"Products" drop down menu

	var browserName = navigator.appName;	
	var normalbrowser = false;
	if( browserName == "Microsoft Internet Explorer" ) normalbrowser = true;      
     

And later they have a "popup" function that uses normalbrowser to
determine of whether to use "layers" (navigator4) or regular html4/dom stuff.

	function popup( grpnumtmp ) {
	  outed = true;
	  //document.write( grpnum );
	  hidepop();
	  grpnum = grpnumtmp;
	  grpname = "popupgroup" + grpnum;
	  encname = "enc" + grpnum;
	  if( normalbrowser ) {
	    grp = eval( grpname );
	    grp.style.visibility = "visible";
	  }
	  else {
	    grp = document.layers[ encname ].layers[ 0 ].layers[ 0 ];
	    grp.visibility = "show";
	  }
	}

Note there are several other different pages that have the same 
issue under the salamander site.

Comment 1

15 years ago
tech evang june 2003 reorg
Assignee: aruner → english-us
Component: US Ecommerce → English US
QA Contact: bc → english-us

Updated

15 years ago
Summary: Products drop down menu doesn't work in mozilla → salamanderdesigns.com - Products drop down menu doesn't work in mozilla
seems to be fixed
Status: NEW → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → FIXED
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.