Click to See Complete Forum and Search --> : problem with <a> tag in netscape


tooie
03-09-2003, 10:29 PM
I have created rollovers that act as a cascading navigation menu. i used image maps to set the links to each of the items in the menu that appears under the main menu item, which is the image that the rollover is associated with -- with me so far?
the problem is that in order for it to work, i need to keep the image that has the rollover from having a target link. i have used the following line of code which works beautifully in IE...

<a onMouseover="swap(1,6)" onMouseout="swap(1,1)"><IMG SRC="images/banquets_nav.gif" name="banquets" WIDTH=140 HEIGHT=115 ALT="" USEMAP="#index_cut_07_Map" border=0></a>

what happens is that the onmouseover drops another menu below it (a different image) which has image maps for links.

the problem is that in netscape, apparently the onmouseover image must have it's own href destination, which does not serve my purpose.

is there any work around this? i need the rollover to work without a link associated with the onmouseover image.

hopefully i've expained this coherently! please feel free to post a response or email me a response at tooie@aol.com

thanks!

tooie
03-09-2003, 10:41 PM
i'm sorry, i don't understand. what do you mean by event? if i don't make it a rollover then i don't get the cascading menu that i've created (with the image maps)

gil davis
03-10-2003, 05:34 AM
Rollovers don't require A tags except in NS4:and an A tag requires a HREF for it to function in NS4.

tooie, you need to show us the code in your image map, too. That may contribute to your problem. There shouldn't be a need to surround an image with an anchor that specifies mouse events when it has an image map associated with it. The mouse events can be moved to the AREA tags in the map.

tooie
03-10-2003, 10:32 AM
Here is the link for what i would like to have happen. it works in IE but it won't work in netscape.

http://www.mcnears.com/newsite/index.shtml

thanks for any help you can offer.

Carrie

nkaisare
03-10-2003, 10:57 AM
This is what I see when I visit your website:

Home | Menus | Banquets | Live Music
Directions | Employment | Contact Us

At home, I am on 56.6 and turn off images so that pages load faster. I wont care about links if I dont even see any info on the page.

gil davis
03-10-2003, 11:25 AM
Originally posted by tooie
Here is the link for what i would like to have happen. it works in IE but it won't work in netscape.It works fine in NS 4.8

tooie
03-10-2003, 11:29 AM
Ooooookay, well that must have been one of those magical things that happens! i couldn't get the image maps to work! thanks for all of your input!