Difference between revisions of "Template:Manchester/CSS"

Line 12: Line 12:
 
     top: 33px;
 
     top: 33px;
 
     width: 100%;
 
     width: 100%;
     font-size:15px;
+
     font-size:20px;
 
}
 
}
  
 
menu_li {
 
menu_li {
 
     float: left;
 
     float: left;
    https://2016.igem.org/Team:Manchester
 
 
}
 
}
  
Line 178: Line 177:
 
$(function() {
 
$(function() {
 
     var pgurl = window.location.href.substr(window.location.href.lastIndexOf("/")+1);
 
     var pgurl = window.location.href.substr(window.location.href.lastIndexOf("/")+1);
     $("#menu_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 16:23, 12 July 2016

Home Team Project