Difference between revisions of "Template:Manchester/CSS"

m
m
Line 177: Line 177:
 
     var pgurl = window.location.href.substr(window.location.href
 
     var pgurl = window.location.href.substr(window.location.href
 
.lastIndexOf("/")+1);
 
.lastIndexOf("/")+1);
     $("#nav ul li a").each(function(){
+
     $("#menu_li a").each(function(){
 
           if($(this).attr("href") == pgurl || $(this).attr("href") == '' )
 
           if($(this).attr("href") == pgurl || $(this).attr("href") == '' )
 
           $(this).addClass("active");
 
           $(this).addClass("active");

Revision as of 15:40, 12 July 2016

Home Team Project