Line 12: | Line 12: | ||
top: 33px; | top: 33px; | ||
width: 100%; | width: 100%; | ||
− | font-size: | + | font-size:20px; |
} | } | ||
menu_li { | menu_li { | ||
float: left; | float: left; | ||
− | |||
} | } | ||
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(){ |
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