Displaying 1 result from an estimated 1 matches for "main_div".
Did you mean:
mail_dir
2006 Jan 20
1
[protoype] Problem with Effects on draggable element if revert is true
hi,
I have a draggable element (cart-item) in a shopping cart
<%= draggable_element "item_#{product}_#{i}", :revert => true %>
When this element is dragged outside the cart into the "main_div", I want to
show a puff effect and remove the element. When it is dragged within the
cart, it should revert.
So i wrote this code for drop_receiving _element
<%= drop_receiving_element "cart",
:update => "items",
:url => nil,
:accept => &quo...