Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How 2 have selected nav button selected highlighted when on that page. 1

Status
Not open for further replies.
Jul 13, 2001
180
US
Hello. I have a rollover nav bar that I created.
The nav bar is an include page.
What code would I need to have a particular clicked button stay "down" after that button has been selected and that relative page has been loaded so that the user knows what page they are on and to also would make the nav button redundant because that is where they are.

Thanks in advance.
 
MustangManny,

Add code to the include file that checks the page that is being called. Like this:

select case Request.ServerVariables("HTTP_REFERER")
case " 'Code to show the page 1 image selected.
case "" 'Code to show the page 2 image selected.
case " 'Code to show the page 3 image selected.
end select

Mark
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top