Commit 52a10247 by 王东红

优化导航条细节

parent 34f7c522
......@@ -133,8 +133,6 @@ define([
var i = 2;
var start_l = (i-1) * hide;
var end_l = start_l + hide;
console.log(start_l)
console.log(end_l)
$(".navigation ul li.level-top").each(function(index) {
if (index >= start_l && index <= end_l) {
$(this).show();//第(hide+1)几个以后开始隐藏
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment