Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations danielledunham on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Netscape Compatible menu

Status
Not open for further replies.

MrSki

Programmer
Dec 13, 2000
66
US
I am using the following code to be able to add a second stage menu to a navigational menu along the left side of the screen. I placed a null graphic under the main category and use script to populate it with a full graphic of the submenu.

All works fine in IE but when I test it in NS (both versions) and Opera, it does not work. Any ideas?


<MAP NAME=&quot;TRACK_MAP&quot;>
<AREA ALT=&quot;Class Management&quot; COORDS=&quot;0,0,108,14&quot; HREF=&quot;javascript:alert('This will go to the CLASS MANAGEMENT page when completed.')&quot;>
<AREA ALT=&quot;Participant Progress&quot; COORDS=&quot;0,15,106,29&quot; HREF=&quot;javascript:alert('This will go to the PARTICIPANT PROGRESS page when completed.')&quot;>
<AREA ALT=&quot;Reports&quot; COORDS=&quot;0,30,106,43&quot; HREF=&quot;javascript:alert('This will go to the REPORTS page when completed.')&quot;>
<AREA ALT=&quot;How to Use&quot; COORDS=&quot;0,44,106,58&quot; HREF=&quot;javascript:alert('This will go to the HOW TO USE page when completed.')&quot;>
</MAP>
<CFIF Left(CGI.SCRIPT_NAME, 5) NEQ &quot;track&quot;>
<IMG SRC=&quot;/ActiveLiving/images/null.gif&quot; WIDTH=&quot;3&quot; HEIGHT=&quot;3&quot; BORDER=&quot;0&quot; ALT=&quot;&quot;><BR>
<a href=&quot;javascript:alert('This opens the submenu.')&quot;
onmouseout=&quot;TRACK.src = '/ActiveLiving/images/TRACK_off.jpg';return true;&quot;
onmouseover=&quot;TRACK.src = '/ActiveLiving/images/TRACK_on.jpg';return true;&quot;
onmousedown=&quot;TRACK.src = '/ActiveLiving/images/TRACK_click.jpg';TRACKDROP.src = '/ActiveLiving/images/TRACK_drop.jpg';MARKETDROP.src = '/ActiveLiving/images/null.gif';return true;&quot;>
<img src=&quot;/ActiveLiving/images/TRACK_off.jpg&quot; WIDTH=&quot;101&quot; HEIGHT=&quot;20&quot; NAME=&quot;TRACK&quot; alt=&quot;Tracking System&quot; border=&quot;0&quot;></A><BR>
<IMG SRC=&quot;/ActiveLiving/images/null.gif&quot; HEIGHT=&quot;0&quot; WIDTH=&quot;10&quot; BORDER=&quot;0&quot;><IMG SRC=&quot;/ActiveLiving/images/null.gif&quot; BORDER=&quot;0&quot; NAME=&quot;TRACKDROP&quot; USEMAP=&quot;#TRACK_MAP&quot;><br>
<CFELSE>
<IMG SRC=&quot;/ActiveLiving/images/TRACK_on.jpg&quot; WIDTH=&quot;101&quot; HEIGHT=&quot;20&quot; BORDER=&quot;0&quot; ALT=&quot;Tracking System&quot;>
</CFIF>
<IMG SRC=&quot;/ActiveLiving/images/null.gif&quot; WIDTH=&quot;3&quot; HEIGHT=&quot;3&quot; BORDER=&quot;0&quot; ALT=&quot;&quot;><BR>
Mitch Duszynski
Web Developer
Human Kinetics
PO Box 5076, Champaign, IL 61825
Tel: 217-351-5076 x2474 | Fax: 217-351-2674
mitchd@hkusa.com |
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top