Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F122126219
async.html
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, Jul 15, 23:15
Size
2 KB
Mime Type
text/html
Expires
Thu, Jul 17, 23:15 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
27438056
Attached To
R3600 invenio-infoscience
async.html
View Options
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1"/>
<title>jQuery async treeview</title>
<link rel="stylesheet" href="../jquery.treeview.css" />
<link rel="stylesheet" href="../red-treeview.css" />
<link rel="stylesheet" href="screen.css" />
<script src="../lib/jquery.js" type="text/javascript"></script>
<script src="../lib/jquery.cookie.js" type="text/javascript"></script>
<script src="../jquery.treeview.js" type="text/javascript"></script>
<script src="../jquery.treeview.edit.js" type="text/javascript"></script>
<script src="../jquery.treeview.async.js" type="text/javascript"></script>
<script type="text/javascript">
function initTrees() {
$("#black").treeview({
url: "source.php"
})
$("#mixed").treeview({
url: "source.php",
// add some additional, dynamic data and request with POST
ajax: {
data: {
"additional": function() {
return "yeah: " + new Date;
}
},
type: "post"
}
});
}
$(document).ready(function(){
initTrees();
$("#refresh").click(function() {
$("#black").empty();
$("#mixed").empty();
initTrees();
});
});
</script>
</head>
<body>
<h1 id="banner"><a href="http://bassistance.de/jquery-plugins/jquery-plugin-treeview/">jQuery Treeview Plugin</a> Demo</h1>
<div id="main">
<ul>
<li><a href=".">Main Demo</a></li>
<li><a href="source.phps">Server component used</a></li>
</ul>
<h4>Lazy-loading tree</h4>
<ul id="black">
</ul>
<h4>Mixed pre and lazy-loading</h4>
<ul id="mixed">
<li><span>Item 1</span>
<ul>
<li><span>Item 1.0</span>
<ul>
<li><span>Item 1.0.0</span></li>
</ul>
</li>
<li><span>Item 1.1</span></li>
</ul>
</li>
<li id="36" class="hasChildren">
<span>Item 2</span>
<ul>
<li><span class="placeholder"> </span></li>
</ul>
</li>
<li>
<span>Item 3</span>
</li>
</ul>
<button id="refresh">Refresh both Trees</button>
</div>
</body></html>
Event Timeline
Log In to Comment