Exactly right, except you don't need to put the dot in front of the  
classname.

handle:'drag-me'

Walter

On Dec 19, 2009, at 8:08 AM, Alex McAuley wrote:

> in draggable there is a parameter "handle" witch if i recall  
> correctly takes
> a classname...
>
> SO add a classname to each image of the same name (<img class="drag- 
> me" ...
> /> <img class="drag-me" .... /> ....)
>
> In your draggable code
> new Draggable('containerDiv),{
> handle:'.drag-me'
> // other options
> }); //
>
> untested but i dont see why not

--

You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.


Reply via email to