I am trying to initialize a tree with multiline like this
<div id="treeboxbox_tree" setImagePath="dhtmlxTree/codebase/imgs/" enableTreeLines="false" enableMultiLineItems="true" style="width:250px;">
ul list
<script>
var myTree = dhtmlXTreeFromHTML("treeboxbox_tree"); // for script conversion
</script>
But it’s not working - I get no menu and firebug is showing an error on line 9 of dhtmlxtree_start.js
c[m] is undefined
Works fine without the two enable settings included.
What am I doing wrong. Using standard version of tree for trial.
All the Flowers Are Dying Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
The Burglar on the Prowl Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
The Plot Thickens Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Grifter's Game Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
The Burglar Who Thought He Was Bogart Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Why doesn’t the menu in your sample have any images, etc. I can get it to work like this too but even with css included the menu is not rendering. It’s just a list.
Now I get the same error I got before (see attachment). Here is my code copied from yours
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>Initialize from HTML</title>
<script src="dhtmlxTree/codebase/dhtmlxcommon.js"></script>
<script src="dhtmlxTree/codebase/dhtmlxtree.js"></script>
<script src="dhtmlxTree/codebase/ext/dhtmlxtree_start.js"></script>
<link rel="stylesheet" type="text/css" href="dhtmlxTree/codebase/dhtmlxtree.css">
</head>
<body >
<script>
dhtmlx.skin = "dhx_skyblue"
</script>
<div class="h3">Initilize from list</div>
<div id="treeboxbox_tree" setImagePath="dhtmlxTree/codebase/imgs/csh_bluebooks/" class="dhtmlxTree" enableMultiLineItems="200px" enableTreeLines=false style="width:250px; height:218px; background-color:#f5f5f5;border :1px solid Silver; overflow: auto">
<ul>
<li>All the Flowers Are Dying Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
<ul>
<li>The Burglar on the Prowl Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
<ul>
<li>The Plot Thickens Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</li>
</ul>
</li>
<li>Grifter's Game Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</li>
<li>The Burglar Who Thought He Was Bogart Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</li>
</ul>
</li>
</ul>
</div>
</body>
</html>