实例代码“Ctrl+/”提示“F11/ESC”全屏 返回 格式化 恢复 运行
x
 
1
<!doctype html>
2
<html>
3
<head>
4
    <meta charset="utf-8">
5
    <title>jQuery Treeview 插件 - 预渲染的大型树</title>
6
7
    <link rel="stylesheet" href="https://jquery.bassistance.de/treeview/jquery.treeview.css" />
8
    <link rel="stylesheet" href="https://jquery.bassistance.de/treeview/demo/screen.css" />
9
    
10
    <script src="https://jquery.bassistance.de/treeview/lib/jquery.js" type="text/javascript"></script>
11
    <script src="https://jquery.bassistance.de/treeview/lib/jquery.cookie.js" type="text/javascript"></script>
12
    <script src="https://jquery.bassistance.de/treeview/jquery.treeview.js" type="text/javascript"></script>
13
    
14
    <script type="text/javascript">
15
        $(function() {
16
            $("#tree").treeview({
17
                collapsed: true,
18
                animated: "fast",
19
                control:"#sidetreecontrol",
20
                prerendered: true,
21
                persist: "location"
22
            });