Dialogs (at least currently) have no concept of loading content. They size and position themselves when they are opened. You can either
- load the content, then make it a dialog (in the .load() callback function) - load the content, then resize/reposition it using the workaround Scott mentioned - Richard On Tue, Dec 30, 2008 at 5:15 PM, tropperstyle <[email protected]>wrote: > > Desktop application windows are completely different. In a desktop > application, the windows size is static. It knows the size and does > not need to load any remote content. In a web application, the size > and data could be arbitrary. It is necessary and almost a requirement > to reposition a dialog after the content has been loaded. Are you > saying that when a dialog finishes loading the content, it should be > left partially and sometimes almost fully outside of the users view? > No, once the dialog is loaded, it should then be placed in the center > of the screen just like any other Desktop application. Since almost > all dialogs load remote content and require repositioning, yes, this > functionality should be built in. > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
