Building Dynamic Navigation Using JavaScript and jQuery

Ok, I’ll admit, I’m pretty new to JavaScript and jQuery, so as a disclaimer, my coding may not be perfect or concise. With that said, I’m going to explain how to build dynamic navigation highlighting using a little JavaScript and jQuery. The first step is to explain the problem.

Most web sites that follow good usability practices will tell visitors where they are on the site. It’s kind of like that directory map in a shopping mall with the big red “YOU ARE HERE” arrow. On web sites, this is usually accomplished by highlighting or shading the navigation object that the user is currently on.

js-dynamic-nav-highlighting-exampleKeep Reading


Warning: include(/var/www/wordpress/clecompte.com/wp-content/themes/cl/resources): failed to open stream: No such file or directory in /var/www/wordpress/clecompte.com/wp-includes/template-loader.php on line 106

Warning: include(): Failed opening '/var/www/wordpress/clecompte.com/wp-content/themes/cl/resources' for inclusion (include_path='.:/usr/share/php') in /var/www/wordpress/clecompte.com/wp-includes/template-loader.php on line 106