<a href=\"#\" id=\"select\" class=\"links\">Link</a>
#select {...]
<?php $activePage = basename($_SERVER['SCRIPT_NAME']); ?>
Thanks
http://css-tricks.com/video-screencasts ... e-body-id/
and whatever way I want my link to look like in the selected state i code for that in CSS
although the body id seems a better idea I have never used it myself
If you are serving up your pages dynamically with PHP then you can use something like:
And if you are using something like Wordpress then the class current_page_item is already added for you.