Thanks, but that doesnt provide any help.
The site uses a .NET master page, so the body tag on everypage is the same. There is a div where the content appears, the content of that DIV is all that changes when you click a link. Because the page never refreshes, the body tag will always remain the same.
Main Topics
Browse All Topics





by: TchukiPosted on 2008-08-28 at 05:35:08ID: 22334027
I reliese this doesn't answer your question directly, however it could pose a solution to your problem.
uk/journal /highlight ing-curren t- page-wit h-css
Rather than using JavaScript to determin what page the user is currently viewing, use the CSS method described in the following link:
http://www.hicksdesign.co.
That uses a body id property to identify the current page and do the relevant navigational highlighting. This should remove your requirement to use JavaScript and therefore your issue.