jQuery Tutorial: Add Active Class to Navigation Menu Item Based on URL

Published: 20 September 2015
on channel: John Morris
38,297
206

In this jQuery tutorial, you'll learn how to use the jQuery addClass method to add an active class to a navigation menu item based on the URL of the current page.

Here's the special discount link for Rob's course:
http://www.johnmorrisonline.com/coupo...

Get the source code in the Code Snippets section here:
http://www.johnmorrisonline.com/web-d...

Training Center:
http://www.johnmorrisonline.com/training

Subscribe on YouTube:
   / johnmorrisonline  

Subscribe on SoundCloud:
  / johnmorrisonline  

Subscribe on iTunes:
http://goo.gl/RggnXW

~-~~-~~~-~~-~
Please watch: "Ryan Carson: How to Get an IT Job WITHOUT a College Degree"
   • Ryan Carson: How to Get an IT Job WIT...  
~-~~-~~~-~~-~


Watch video jQuery Tutorial: Add Active Class to Navigation Menu Item Based on URL online without registration, duration hours minute second in high quality. This video was added by user John Morris 20 September 2015, don't forget to share it with your friends and acquaintances, it has been viewed on our site 38,297 once and liked it 206 people.