View Full Version : Image Map Problem


Avenue
12-06-2005, 10:41 PM
In my site, I have two different images that each are image maps.
My first image is fine, but the second one is like a copy of the first one. I can't explain it very well, so here's the link:

http://www.freewebs.com/auburnavenue/index.htm

The first imape map is right underneath the banner. It says stuff like, 'Home, Bonnie,' etc.
The second is at the very bottom. It says 'Welcome, Stats,' etc.
But when you put your mouse over the 'Welcome' part, it has the wrong links, and the wrong places.

Any help or comments would be appreciated!!

harmor
12-06-2005, 11:52 PM
I never heard of an image map before but I think I found the problem

This is for the bottom one.

In this line
<img src="http://www.freewebs.com/auburnavenue/v2_bottomnav.png" usemap="#mymap" width="832" height="15" alt="bottom" border="0">

Look For
usemap="#mymap"
You will need to change this (just use #mymap2)

Below that you'll see
<map name="mymap">

Chane that to
<map name="mymap2">

Avenue
12-07-2005, 02:41 AM
Hmm...That's a good idea, but unfortunately it didn't work. Good thing though, I would have never realized it before!

Anyone else have any ideas for why it doesn't work?

harmor
12-07-2005, 02:52 AM
you forgot to change the "usemap" attribute to #mymap2

<img src="http://www.freewebs.com/auburnavenue/v2_bottomnav.png" usemap="#mymap2" width="832" height="15" alt="bottom" border="0">
<map name="mymap2">

Avenue
12-11-2005, 08:17 PM
It works! Thank you so much! I would have never thought of changing the names!