Click here to Skip to main content
15,880,392 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi, I just started learning asp.net and I just designed a master page for my website.

The menu navigation I used is made up of images. And each image changes when the mouse hovers over it.

What I want to ask is when the image link is clicked, and the corresponding content page is loaded, how will I change the image(state) of the clicked link in the content page with the same image used for the hover property?

Thank a lot.
Posted

Find the current page in the master page using Request object and set the CSS for the corresponding link.
 
Share this answer
 
Hi Add a hidden(no name) link button and put that image button exaclty at the same position using absalute in css positioning and give the exact width and height for link button same as image and hadle the button clik in u r code.....:)

Regards
Vinay
 
Share this answer
 
Comments
kumardevarapalli 18-May-10 4:58am    
If it is Use full pls let me know...:)
this is a work around solution i did for one of
my project

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