Ascendancy
01-04-2007, 08:02 PM
I have an Image Map set up so that the image is my banner, and it has different sections for home, contact, whatever it may be. I already set up the different rectangle shapes, and the links works fine and everything. What I tried to do is name the image itself "banner", then I did a mouseover effect on the rectangle shape, but nothing happened. Here is the code:
<img src="images/banner.jpg" usemap="#banner" border="0" name="banner">
<map name="banner">
<area shape="rect" coords="310,22,363,37" href="news.html"
onmouseover="docmuent.banner.src='images/bannerHome.jpg'">
I have an external .js file to pre-load the images.
<img src="images/banner.jpg" usemap="#banner" border="0" name="banner">
<map name="banner">
<area shape="rect" coords="310,22,363,37" href="news.html"
onmouseover="docmuent.banner.src='images/bannerHome.jpg'">
I have an external .js file to pre-load the images.