RichNetApps
Internet Applications - Flash, Flex, Silverlight, JavaFX
  • Home
  • About
  • Contact
  • All Downloads
  • Free Tools
    • Mini FLV Player
    • Mini MP3 Player
    • Flash Slideshow
    • Flash Pie Chart
  • Design and Photography
  • Services
  • Games
  • .NET
  • ColdFusion
  • CSS/Ajax
  • Flash
  • News
  • Oracle
  • PHP/MySQL
  • Reviews
  • Subscribe
Browse: Home / html

html

Automatically highlight current page in menu via Javascript

Automatically highlight current page in menu via Javascript

By Armand Niculescu on December 14, 2005

Whenever one builds a website, one issue is always guaranteed time consuming: highlighting the current page or section in the website with a different style.
In theory, this is relatively simple, just add a .current class to the link in question.
So, if you have a menu styled from a list, you’d have:

<ul>
<li><a [...]

Posted in CSS/Ajax | Tagged ajax, css, html, javascript | 47 Responses

Latest Articles

  • The (sad) state of web fonts embedding
  • WCF-LINQ Exception : Cycled Object Reference
  • flashCHESS III in Google Chrome OS
  • LINQ Demystified : Using LINQ on Existing Data Model
  • Add Custom VS Snippets
  • VirtueMart quick tip: show brand/manufacturer logo in product details
  • Flash exported as native apps on iPhone? Didn’t see that coming
  • Using MySQL to generate daily sales reports with filled gaps
  • Money for Nothing and Flex for Free
  • Javascript animated collapsible panels without any frameworks

Tag Cloud

.net actionscript adobe ajax c# chess code ColdFusion component css download effects filters flash flex flv free fusebox gallery google html iis issues javascript lightroom linq microsoft motion mssql mysql Oracle performance php piechart pl/sql raw reporting services smtp source sql store triggers tutorial xml xslt

Copyright ©2010 Media Division