On 10/13/06, Raj Tirumalasetti
<rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>
wrote:>
> Hello
>
> I have created some sample drag and drop blocks.
> but my problem is, i want my block only dragable if i clicked on the
> header only.not complete block.(but it should move whole block).
>
> how to do this. please help me.
>
> Regards,
> Raj
>
> --
> Posted via http://www.ruby-forum.com/.
>
In scriptaculous, you can pass the id of a DOM object that should be
used as the drag handle.
new Draggable( "some_id", { handle:
''id_of_drag_handle'' } );
Cheers,
Max
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk
-~----------~----~----~----~------~----~------~--~---