Click here to Skip to main content
15,896,430 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
A little complicated to explain so I attach an illustration...

I have a SERVICE page called page1.asp

admin will be able to add more subpages to that so it will be "page1.asp?id=2", id=3 and so on....and the links are on the left, main text and images in the middle (typical)

But when users view the page and click on the links I want the links to have the rollover effect (underline or bold) according to what page you are located on

so QUESTION IS: ...how does this one template "page1.asp" know what link is highlighted according to on what page the user is ?

Explaination image :)

http://www.eldofninn.is/files/pustkerfi_service_explainationimage.jpg
Posted
Comments
Niklas L 8-Jun-10 3:26am    
You have the id parameter for the page supplied through a get or post. I don't see what the problem is.

1 solution

I have worked sometime before in asp. Hope this may work.
When link having id in querystring is selected, postback happens.
There based on ID we can add some cssclass or inline style to that link item.
]]>
//Code for inline or cssclass style
]]>
 
Share this answer
 

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