Hi,<br>
First thanks for your great scripts!<br>
<br>
According to the documents:<a href="http://script.aculo.us/drag-and-drop">http://script.aculo.us/drag-and-drop</a><br>
The Draggable's option 'handle'&nbsp; value is a string referencing a CSS class. The first child/grandchild/etc.<br>
element found within the element that has this CSS class will be used as the handle.<br>
However, in the source code file dragdrop.js line 250, is, <br>
this.handle= options.handle ? $(options.handle) : this.element;<br>
<br>
It seems to look for a element with id equals to the handle option's value.<br>
<br>
I made some small changes, the code copied from Sortable<br>
&nbsp;&nbsp;&nbsp; // updated by lobster, 2005-07-06<br>
&nbsp;&nbsp;&nbsp; // bug? according to the documents:<a href="http://script.aculo.us/drag-and-drop">http://script.aculo.us/drag-and-drop</a><br>
&nbsp;&nbsp;&nbsp; // The value is a string referencing a CSS class. The first child/grandchild/etc.<br>
&nbsp;&nbsp;&nbsp; // element found within the element that has this CSS class will be used as the handle.<br>
&nbsp;&nbsp;&nbsp; //this.handle&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = options.handle ? $(options.handle) : this.element;<br>
&nbsp;&nbsp;&nbsp; this.handle&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
options.handle ? Element.Class.childrenWith(this.element,
options.handle)[0] : this.element;<br>
Now, the script works just like what was told by the document.<br><br>-- <br>Regards.<br><br>Yufan