We did get rid of it for now, since it wasn't ready. We'll bring it back
when it is. Thanks.

- Richard

On Tue, Mar 3, 2009 at 12:06 PM, Aaron <[email protected]> wrote:

>
> I hope you don't get rid of the shadow :( It's nice
>
> This refresh thing seems to fix the issue.
>
> -A
>
> On Mar 2, 4:58 am, Scott González <[email protected]> wrote:
> > Theshadowhas been removed fromdialogdue to various issues.
> >
> > On Mar 1, 2:11 am, Andrew <[email protected]> wrote:
> >
> > > I figured out a much better solution to fix this issue....
> >
> > > go into your code, mine is in my jquery-ui-personalized-1.6rc6.js
> > > file... Also could be in ui.dialog.js etc.
> >
> > > Inside the code (mine is line 4218) after this function
> >
> > > $.widget("ui.dialog", {
> >
> > >         _init: function() {
> >
> > > add this function
> >
> > >         refresh: function() {
> > >                                 this._refreshShadow(1);
> > >         },
> >
> > > Then from within your code you can call something like this...
> > > $("#dialogbox").dialog("refresh");
> >
> > > At that point it will redraw theshadowfor you simulating the
> > > resize.
> >
> > > I'm sure you can also use an $.extend to do this unobstrusively, but
> > > for now, this is a quick fix.
> >
> > > Dropping this on my blog too where I may put updates if I decide to
> > > write a patch (extending).
> >
> > >http://geedew.com/blog/2009/03/01/jquery-dialog-shadow-issuesjquery-d.
> ..
> >
> > > Drew
> > > On Feb 3, 8:57 pm, Mikey <[email protected]> wrote:
> >
> > > > Code above works with FF but not IE. Code below works with both:
> >
> > > > open: function(){
> > > >     var obj = this;
> > > >     if ($(this).data('shadow.dialog')) // check if thisdialoghas a
> > > >shadow
> > > >         setTimeout(function(){ // required becauseshadowis created
> > > > only after thedialogis finished being displayed
> > > >                 varshadow;
> > > >                 if((shadow= obj.parentNode.nextSibling) &&
> > > >shadow.className == 'ui-widget-shadow'){ //shadowis normally next
> > > > sibling of parent node of
> > > >dialogbase div.
> > > >                     var offset = $(obj.parentNode).offset();
> > > >                     $(shadow).css({
> > > >                                         top: offset.top + 3,
> > > >                                         left: offset.left + 3
> > > >                                         });
> > > >                                 };
> > > >                 }, 1000); // 1000 may seem like a lot, but 100 is not
> > > > enough.
> > > > the fnct must execute after theshadowis created.
> >
> > > > }
> >
>

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