My favorites | Sign in
Project Home Downloads
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions

Issue 151 attachment: index.htm (1.9 KB)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<html>
<head>
<script src="jquery/jquery.js" type="text/javascript"></script>
<script src="jquery/ui.core.js" type="text/javascript"></script>
<script src='jquery/jquery.cookie.js' type='text/javascript'></script>
<link rel='stylesheet' type='text/css' href='skin/ui.dynatree.css'>
<script src='jquery.dynatree.js' type='text/javascript'></script>

<script type='text/javascript'>
$(document).ready(function(){

$(function(){
$("#tree").dynatree({
title: "Dynatree Test",
rootVisible: true,
onActivate: function(dtnode) {//
alert ("You activated " + dtnode.data.title + ", key=" + dtnode.data.key);
}
});
});


loadPage('home.htm');

$.ajaxSetup ({
// Disable caching of AJAX responses */
cache: false
});

function loadPage(url) {

$('#progress').show();
scrollTo(0,0);
$('#page_content').load(url + ' #page_content', function(){
$('#progress').remove();
});

}
});
</script>

</head>
<body>

<div id="page_content"></div>

<div id="tree">
<ul>
<li id="key1" class="folder">Main Folder
<ul>
<li id="key2" class="folder">Sub Folder1
<ul>
<li id="key2.1">32019086
<li id="key2.2">41097865
</ul>
<li id="key3" class="folder">Sub Folder2
<ul>
<li id="key3.1">67229634
<li id="key3.2">13029654
<li id="key3.3">89086543
</ul>
<li id="key4" class="folder">Sub Folder3
<ul>
<li id="key4.1">47654321
<li id="key4.2">87654092
</ul>

</ul>
</ul>
</div>

</body>
</html>
Powered by Google Project Hosting