I wil pay some $5 if somebody does this for me. Hi guys, I have been trying to figure out, but have not been successful in doing this. I have a CSS menu here www.megavideos.in (by default the highlighted tab is HOME). i would like to make the code in such a way that when the user clicks on other tabs that particular tab should be highlighted. I am using a common header throughout the website. <table> <tr align="center"> <td><div id="tabs1"> <ul> <!-- CSS Tabs --> <li id="current"><a href="{$baseurl}/index.php"><span>HOME</span></a></li> <li><a href="{$baseurl}/upload.php"><span>UPLOAD</span></a></li> <li><a href="{$baseurl}/recent/"><span>WATCH</span></a></li> <li><a href="{$baseurl}/tags.php"><span>TAGS</span></a></li> <li><a href="{$baseurl}/channels.php"><span>CHANNELS</span></a></li> <li><a href="{$baseurl}/groups.php"><span>GROUPS</span></a></li> <li><a href="{$baseurl}/friends.php"><span>FRIENDS</span></a></li> <li><a href="http://reviews.megavideos.in"><span>REVIEWS</span></a></li> <li><a href="http://reviews.megavideos.in/category/bollywood-radio/"><span>MEGA RADIO</span></a></li> </ul> </div></td> </tr> </table> Code (markup): help will be highly appreciated. cheers nirav
If you are using an included header, you will have to do some kind of switch statement pertaining to the page you are on. Once you determine the page you are on, you can write out each of the line items passing id="current" to the current page you are on.
that is exactly what i m asking someone to do, as i m not able to figure out how to do it. Thanks Nirav
I still see the problem in your sites navigation. I have good experience in this video script. I helped in front-end coding youwitnesslife.org using the same script. If you want my help, please add me to your messenger list.