Will Merrell wrote:
> Am I missing something? Is there some way to have this test file support
> the dropping we are talking about?
Here's the full code that worked well for me.
cheers
Ingmar
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title> new document </title>
<script src="scriptaculous/lib/prototype.js"></script>
<script src="scriptaculous/src/scriptaculous.js"></script>
<style>
ul {
min-height: 4px;
background-color:red;
}
ul ul {
min-height: 4px;
height: 100px;
background-color: yellow;
}
</style>
</head>
<body>
<ul id="tree">
<li>Vegetables
<ul>
<li>Tomatos</li>
<li>Potatoes</li>
</ul>
</li>
<li>Leaf node
<ul></ul>
</li>
</ul>
<script>
Sortable.create('tree', {tree: true});
</script>
</body>
</html>
_______________________________________________
Rails-spinoffs mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs