Hi there, simply use the containment option to that (search for it in the documentation)!
Cheers, Paul On Wed, Nov 12, 2008 at 8:39 PM, zed <[EMAIL PROTECTED]> wrote: > > *bump* > > > Any ideas on this? Is it even possible? If anyone has ever seen an > example of this can you please pass along the url? > > On Nov 10, 2:19 pm, zed <[EMAIL PROTECTED]> wrote: > > Hi.. I searched around for a while but no luck... I assume this is > > pretty straight forward but I can not figure it out. I am having > > trouble with my draggable divs being able to be dragged anywhere in > > the browser window. How do I constraint it to its parent div? For > > example the html : > > > > <div id="dragbox"> > > <img src="drag1.png" class="drag1" alt="zacs phone" /> > > </div> > > > > How would I constrain the drag1 image to the boundaries of the dragbox > > div? I think it has something to do with appendTo but I dont get > > it... > > > > Thanks a lot for any help with this. > > > > -- Paul Bakaus UI Architect -- http://paulbakaus.com http://www.linkedin.com/in/paulbakaus --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
