How to make only header dragable

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

On 10/13/06, Raj T. [email protected] wrote:

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs