Created
March 3, 2013 18:43
-
-
Save krciga22/5077561 to your computer and use it in GitHub Desktop.
Use this JavaScript class to quickly add css state to an html menu with a tag links. Once initiated, the class will look at all a tags within the main menu element specified and will append the class name 'selected' to the a tag representing the current page. *Please note this is not for ajax based menus.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment