active link ??
- Started
- Last post
- 3 Responses
- rasko4
I have a problem.
I have a subnav where I want the current page's link in the subnav to be a different colour, thing is, the subnav is made using a template so I cannot edit the colour on each individual page... is there a css property or some jscript I can use to do this?
I wish clients wouldn't change their mind at the last minute :(
- rasko40
though I suppose I could just detach each page from the template and then edit it..
hmm
- unfittoprint0
http://www.codeave.com/javascrip…
you could use javascript to target the div tag where that link resides.
The script could read an url variable and change the div appeareance accordingly.something like:
section2.html?subnav=section2note: with a server side script like php this would be much easier.
- rasko40
hmm interesting, sounds complicated for a sunday heheh..
:)