Click here to Skip to main content
15,898,924 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,



i want to work with the image map control and want to define some rectangle type hot-spots and want to navigate on another page when i click on 1 spot and color of that spot change
Posted

 
Share this answer
 
Comments
Pradeep_kaushik 6-Aug-12 4:45am    
but i also want to change the color of that spot when i click on that
AshishChaudha 6-Aug-12 4:48am    
I am not sure try using CSS

<style type="text/css">
a:link { color: blue; text-decoration: underline;}
a:active { color: red; text-decoration: underline;}
a:visited { color: purple; text-decoration: underline;}
a:hover { color: green; text-decoration: underline;}
</style>
 
Share this answer
 
Comments
Pradeep_kaushik 6-Aug-12 4:45am    
but i also want to change the color of that spot when i click on that
Unareshraju 6-Aug-12 5:01am    
pradeep you can write a code click on the image map control fto navigate another page.
Response.Redirect("Target.aspx?pageName " );

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