I am trying to use a themeroller with the jstree, however when ever i used it,
I just get an empty DIV come up on the screen. I am using the code below, any
help much appriciated, it works ok if use the 'default theme', I am using
version jsTree.v.1.0rc2.
<!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>
<title></title>
<script src="_lib/jquery.js" type="text/javascript"></script>
<script src="_lib/jquery.cookie.js" type="text/javascript"></script>
<script src="_lib/jquery.hotkeys.js" type="text/javascript"></script>
<script src="jquery.jstree.js" type="text/javascript"></script>
<link href="jquery-ui-1.8.9.custom.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="demo1">
<ul>
<li id="phtml_1">
<a href="#">Root node 1</a>
<ul>
<li id="phtml_2">
<a href="#">Child node 1</a>
</li>
<li id="phtml_3">
<a href="#">Child node 2</a>
</li>
</ul>
</li>
<li id="phtml_4">
<a href="#">Root node 2</a>
</li>
</ul>
</div>
<script type="text/javascript">
$(function() {
$("#demo1").jstree({
"plugins": ["html_data", "ui", "themeroller"]
});
});
</script>
</body>
</html>
Original issue reported on code.google.com by c.lewis...@gmail.com on 28 Feb 2011 at 2:46
Original issue reported on code.google.com by
c.lewis...@gmail.com
on 28 Feb 2011 at 2:46