Jump to content

image maps


StarGazer

Recommended Posts

I am make an image map similar to the W3School example here:http://www.w3schools.com/js/tryit.asp?file...=tryjs_imagemapMy problem is that I want to have a link in the text that is triggered by the onMouseOver. Is this possible?I've tried the following without success:

<area shape ="rect" coords ="0,0,82,126"onMouseOver="writeText('The Sun and the gas giant planets like <a href="jupiter.html">Jupiter</a> are by far the largest objects in our Solar System.')"href ="sun.htm" target ="_blank" alt="Sun" />

Link to comment
Share on other sites

As far as I know image map coordinates are static so if you your content shifts the image map is still looking at the same place...Perhaps you can modify the coordinates on mouseover with javascript...but I have no idea were to start.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...