JS for a context sensative nav bar

admin

Administrator
Staff member
I'd like to create a context sensitive nav bar and was wondering if any one
can point me in the right direction.

What I want my nav bar to do is detect the page it's on (e.g., About Us) and
display the corresponding button (e.g. About Us) in a down state when the page loads. Ideally I'd like to be able to use either CSS buttons or graphics.

Does anyone know how I can do this (perhaps using java script?) so that what I actually have is the same code on every page of my site?


Many thanks

GG
 
Back
Top