OdinaSpb / jstree

Automatically exported from code.google.com/p/jstree
0 stars 0 forks source link

JS Tree not showing in IE when themeroller used #912

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
http://www.swhistlesoft.com/blog/2011/07/11/1333-disappearing-jstree-when-using-
themeroller got a solution

Original comment by norm...@silverstripe.com on 8 Feb 2012 at 8:31

Attachments: