Return to Snippet

Revision: 19250
at October 19, 2009 21:53 by xxc


Initial Code
$('#localNav a').each(function(idx){
  var href=window.location.href;
  if (this.href.toLowerCase() == href.toLowerCase()) {
  $(this).addClass('active');
  return !1;
  };
 });

Initial URL

                                

Initial Description

                                

Initial Title
Navigation: This link change

Initial Tags
js, navigation

Initial Language
JavaScript