Closed trojkat closed 12 years ago
When you got links inside ul list sometimes when you click them you move whole li element. Is there a way to specify handle element?
Example:
<li><span class="handle">move me</span> <a href="http://google.com/">Google</a></li> <li><span class="handle">move me</span> <a href="http://jquery.com/">jQuery</a></li> </ul>``` ```javascript $('#tree1').tree({ data: data, handle: '.handle' });
Demo - http://demo.wil-linssen.com/jquery-sortable-ajax/
Yes, you can use the 'onIsMoveHandle' option. See http://mbraak.github.com/jqTree/#tree-options-onismovehandle
Omg, sorry, I'm blind :-/
When you got links inside ul list sometimes when you click them you move whole li element. Is there a way to specify handle element?
Example:
Demo - http://demo.wil-linssen.com/jquery-sortable-ajax/