摘要: //nav $(".nav li a").each(function() { $this = $(this); if ($this[0].href == String(window.location)) { $this.parent().addClass("active"); } }); 阅读全文
posted @ 2016-12-19 14:17 简单就好zyx 阅读(367) 评论(0) 推荐(0)