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 wrote:
> You could override the draggable
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
[..]
> 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 alternativ
3 matches
Mail list logo