weixin_42468683
weixin_42468683
2011-08-01 18:14

Jquery 树形菜单展开有问题····求指教··

  • jquery

在Folder 2目录下的子目录Subfolder 2.1,点击Collapse All、Expand All后,就显示不正常,恳请指教!
以下为代码:







<br> $(document).ready(function(){</p> <pre><code>$(&quot;#example&quot;).treeview({collapsed: true, control:&quot;#sidetreecontrol&quot;, persist: &quot;cookie&quot;}); </code></pre> <p>});<br>


 



  • Folder 1

    • Item 1.1



  • Folder 2

    • Subfolder 2.1

      • File 2.1.1

      • File 2.1.2



    • File 2.2



  • Folder 3 (closed at start)

    • File 3.1



  • File 4





  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

5条回答