Topic: problem with overflow :scroll while dragging images

Hi,
i have 2 div's .both Div's have the property overflow :scroll. left div contanis images. while dragging and drop images into right div ,images are disspearing . without overflow:scroll  it's workign fine. how to disable overflow :scroll while dragging image. i used ajaxdraggable_element() and drop_receiving_element().
please suggest solution

Re: problem with overflow :scroll while dragging images

on your draggable element, you can do something like:

  new Draggable(element_id, 
      { 
        revert: true,
        onDrag: function() {
                                   $('my_div').setStyle({overflow: 'none'});
        },
        onEnd: function() { 
                                   $('my_div').setStyle({overflow: 'scroll'});
        }
        })

Re: problem with overflow :scroll while dragging images

If you're using jQuery, you can do:

$("#element_id").draggable({ helper: 'clone', appendTo: 'body', zIndex: 2700 });