Jquery - Move Div around
Posted
by Chris
on Stack Overflow
See other posts from Stack Overflow
or by Chris
Published on 2010-04-21T10:25:10Z
Indexed on
2010/04/21
10:33 UTC
Read the original article
Hit count: 281
Hi there guys,
I am using Jquery Drag and drop to move divs across a page and this works perfectly. however what i would like is on each one of the div containers is to have a close button which when clicks removes the div from where it is and places it in a pre-defined div at the bottom like a widget gallery.
How would this be accomplished? - below is my html.. thanks
Chris
<div class='column' id='leftcolumn'></div>
<div class='column' id='rightcolumn'>
<div class='dragbox'>
<span class='close'>Close</span>
Content In here
</div>
</div>
<div class='column' id='widgetgallery></div>
© Stack Overflow or respective owner