See also
http://groups.google.com/group/jquery-en/browse_thread/thread/ddaad4f59f375185

- Richard

On Sun, Aug 23, 2009 at 11:35 AM, Jörn Zaefferer <
[email protected]> wrote:

>
> In the snippet here, it looks like you initialize the dialog with just
> the buttons option, then, on document-ready, try to initialize again
> with other options, which simply gets ignored.
>
> Jörn
>
> On Fri, Aug 21, 2009 at 2:32 PM, thelemondropkid<[email protected]>
> wrote:
> >
> > Hello folks,
> >
> > I have a strange thing happening here:
> >
> > [code]
> > <div id="account-login" class="dialog">
> >        <!-- Login Area -->
> >        <form action="" method="post">
> >                <label for="email">email</label>
> >                <input name="field" type="text" id="email" />
> >        </form>
> > </div>
> >
> > $(function() {
> >                $(".dialog").dialog({
> >                        bgiframe: true,
> >                        width: 700,
> >                        height: 300,
> >                        modal: false,
> >                        draggable: true,
> >                        resizable: 'cancel'
> >                });
> >        });
> > $('#account-login').dialog({ buttons: { "Ok": function() { $
> > (this).dialog("close"); } } });
> > [code]
> >
> > For some reason when I insert the jQuery here, the 'dialog' here is
> > given an inline width property of 300px and ignores the 700 that I
> > require.
> >
> > Is there a reason for this?
> >
> > Thanks
> > >
> >
>
> >
>

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