Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > drag div from inside div to inside another

Reply
Thread Tools

drag div from inside div to inside another

 
 
123Jim
Guest
Posts: n/a
 
      05-16-2011
Hi all,
########example HTML:##########
<div id="holder1" class="draggable">
<div id="mover" class="draggable">moveme</div
</div>

</div id="holder2" class="draggable"></div>
##########################

Is it possible to drag <div id="mover"> from <div id="holder1"> in to
<div id="holder2"> so that the 'mover' becomes attached to the 'holder'

In the above structure I can drag 'holder1' and 'mover' will stick to it,
that's fine, but when I drag 'mover' to 'holder2', it still gets dragged
around by 'holder1', just outside of it.


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
<div ... /> and <div ...></div> K Viltersten ASP .Net 4 03-31-2009 07:33 PM
CSS question: div cover another div on AJAX dunnil HTML 1 02-05-2006 08:59 AM
NS/FF don't change div offsetWidth when div innerHTML is added toand div becomes wider mscir Javascript 3 06-26-2005 04:04 PM
Q: Div A inside Div B is larger than Div B Dwayne Madsen Javascript 1 06-01-2005 03:02 PM
Access a control inside an usercontrol from another control inside another usercontrol nail ASP .Net 0 09-15-2004 03:55 PM



Advertisments