You're on the right track with the appendTo option:
http://docs.jquery.com/UI/Draggable#option-appendTo
Try 'body' for the value:
$('.selector').draggable({
appendTo: 'body'
});
- Richard
On Wed, Sep 30, 2009 at 2:51 AM, MacPhreak <[email protected]> wrote:
>
> Hello - I have a simple table with a div tag for blocks of fields on
> the left hand side (these are in a div container). They will not drag
> over to the right hand side where the image (the target) is. They seem
> to be limited to stay within the div tag and cannot be dragged outside
> of the div tag. However, if I remove the div tag, it works perfectly
> fine and the fields are able to be dragged over to the image.
>
> Is there a setting or something that would allow me to do this?
>
> Here is the code I am using (the main drag event is at the very bottom
> of the code):
> http://pastie.org/636289
>
> And here is a link to a live test page which you can see what is
> happening (the left side columns should be able to be dragged over to
> the image):
> http://webfiredesign.com/test/FormLayout.php
>
> I appreciate any help anyone can give.
>
> Thanks!
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---