$("#categorys").treeview({
persist: "location",
control: "#treecontrol",
unique: true
});//只展开一层
$("#categorys").treeview({
control: "#treecontrol",
persist: "cookie"
});
});//展开所有层.
<div class="areaBody">
<div id="treecontrol">
[<a href="#">Collapse</a>] [<a href="#">Expand</a>] [<a href="#">Toggle</a>]
</div>
<ul id="categorys">
<li id="root">
</li>
</ul>
</div> });
jquery treeview 使用时候,只展示一层问题
最新推荐文章于 2024-06-23 12:43:23 发布
本文介绍如何使用jQuery插件实现可折叠、展开及切换的树状菜单,并通过persist参数控制菜单状态,利用Collapse、Expand和Toggle链接进行操作。
872

被折叠的 条评论
为什么被折叠?



