Also, note: there is a dedicated mailing list for discussion of jQuery UI plugins[*]:
http://groups.google.com/group/jquery-ui - Richard [*] http://rdworth.org/blog/2008/10/jquery-plugins-and-jquery-ui/ On Tue, Jan 6, 2009 at 6:58 AM, Richard D. Worth <[email protected]> wrote: > You could override the draggable default before calling .dialog (which in > turn calls .draggable). Like so > > $.extend($.ui.draggable.defaults, { > containment: 'window' > }); > > Also, note that in the latest trunk (after 1.6rc4) dialog has been changed > to default to draggable containment: document. So this may not be needed in > the future. > > - Richard > > > On Tue, Jan 6, 2009 at 4:43 AM, JuergenRiemer <[email protected]>wrote: > >> >> [..] >> > I made it work by modifying the jQuery UI core, and adding >> > containment:'window' as a default option value in _makeDraggable >> > method of a dialog widget: >> [..] >> > however this doesn't really resolve the problem, because it'll be a >> > headache if I want to reuse this bundle and have alternative settings. >> >> *bump* >> >> would also like to hear of a solution to this issue >> > >

