I posted an example of how to set an initial position of a WebDialog using the onLoad event. It demonstrates one way to get the screen dimensions, the dialog size, and using a callback to set the dialog position.
I have tried using the javascript self.moveTo function in a WebDialog in order to avoid using the callback, but I can't get the dialog to respond to the function call.
View post.
No comments:
Post a Comment