I have tried :

$("#sortable").sortable({"scroll":top.window});

but nothing happens.

I search to include this code in jquery ui library:

var main=window;
if(window.frameElement) main=top.window;

but, I don't find the good code. Perhaps the scrollParent function in
ui.core ? :

        scrollParent: function() {
                var scrollParent;
                if(($.browser.msie && (/(static|relative)/).test(this.css
('position'))) || (/absolute/).test(this.css('position'))) {
                        scrollParent = this.parents().filter(function() {
                                return 
(/(relative|absolute|fixed)/).test($.curCSS(this,'position',
1)) && (/(auto|scroll)/).test($.curCSS(this,'overflow',1)+$.curCSS
(this,'overflow-y',1)+$.curCSS(this,'overflow-x',1));
                        }).eq(0);
                } else {
                        scrollParent = this.parents().filter(function() {
                                return 
(/(auto|scroll)/).test($.curCSS(this,'overflow',1)+$.curCSS
(this,'overflow-y',1)+$.curCSS(this,'overflow-x',1));
                        }).eq(0);
                }

                return (/fixed/).test(this.css('position')) || !
scrollParent.length ? $(document) : scrollParent;
        }

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to