Click here to Skip to main content
15,913,467 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am using one big image. Inside the image we will have sepeperate partition.

when i mousehover , then i want to display the hyperlink url with corresponding position.

How to set different hyperlink with one single image with position.

see my image code.

<img alt="" border=0 width=166 height=391 src="Images/image002.gif" />
Posted
Comments
Dhanamanikandan 3-May-12 9:47am    
Do you want to set your image as link?

Hi,

I think what you are looking for is called AREA in HTML.

You can find some information here[^].
 
Share this answer
 
Hi,
Need to add usemap in img tag, like:
HTML
<img src="Images/image002.gif" border="0" width="166" height="391" alt="Planets" usemap="#planetmap" />

<map name="planetmap">
  <area shape="rect" coords="0,0,82,126" href="sun.htm" alt="Sun" />
  <area shape="circle" coords="90,58,3" href="mercur.htm" alt="Mercury" />
  <area shape="circle" coords="124,58,8" href="venus.htm" alt="Venus" />
</map>

more detail check:http://www.w3schools.com/tags/att_img_usemap.asp[^]
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900