Yeah, $(el).data('position.dialog', 'center') seems to work as well.

On Dec 30, 10:43 pm, tropperstyle <[email protected]> wrote:
> Hmm. I'll have to take a look through the source. Is this 'option'
> syntax supposed to be exposed as the public API? (It's not currently
> documented) Can this be reliable for use with 1.6+? Seems similar to
> the .data('option.dialog') syntax, is there any relationship?
>
> On Dec 30, 4:52 pm, Scott González <[email protected]> wrote:
>
> > You can tell a dialog to reposition itself with one line of code:
>
> > $(el).dialog('option', 'position', $(el).dialog('option',
> > 'position'));
--~--~---------~--~----~------------~-------~--~----~
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