it is already have helper clone ..
$('li',$gallery).draggable({
cancel: 'a.ui-icon',// clicking an icon
won't initiate dragging
revert: 'invalid', // when not dropped,
the item will revert back
to its initial position
containment: $('#demo-frame').length ?
'#demo-frame' :
'document', // stick to demo-frame if present
helper: 'clone',
cursor: 'move'
});
look at that http://www.imblog.info/nettuts/demos/droppable/panel_2.html
.. when we drag the picture in left box .. picture gets disappear
from the slider gallery ..
i want to stay also the picture there ..
On May 9, 7:15 pm, Scott González <[email protected]> wrote:
> Set the helper option to clone.
>
> http://jqueryui.com/demos/draggable/#visual-feedback
>
> On May 6, 2:53 am, hiddenpearls <[email protected]> wrote:
>
> > i am not much experienced in UI but have worked with its few widgets .
> > i am using drag and drop approach.
> > i have lists of products and want to drop that products in the box.
> > it works fine as i got the demo
> > fromhttp://jqueryui.com/demos/droppable/#photo-manager.
>
> > The Problem is that , when i drag and product image in the box it
> > disappears from its location and drop in the box.
> > i want my product that i drag should be there and a clone of product
> > image should be in the box.
>
> > Plz help me , i have been mad in that working ...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---