foud a workaround as follows:

in the options list:
open: function(){
    if ($(this).data('shadow.dialog')) // check if this dialog has a
shadow
        setTimeout(function(a){ // required because shadow is created
only after the dialog is finished being displayed
                var shadow;
                if((shadow = a.parentNode.nextSibling) && shadow.className == 
'ui-
widget-shadow'){ //shadow is normally next sibling of parent node of
dialog base div.
                    var offset = $(a.parentNode).offset();
                    $(shadow).css({
                                        top: offset.top + 3,
                                        left: offset.left + 3
                                        });
                                };
                }, 1000, this); // 1000 may seem like a lot, but 100 is not 
enough.
the fnct must execute after the shadow is created.
}

Hopefully I will be soon able to delete that code (when the official
code is fixed...).
--~--~---------~--~----~------------~-------~--~----~
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