L
laredotornado
Hello,
I'm creating a dialog box using a DIV. When the DIV opens, I would
like it to appear in the middle of the browser window, even if the
user has scrolled down a little. How would I calculate the top and
left coordinates in order to do this?
Thanks, - Dave
I'm creating a dialog box using a DIV. When the DIV opens, I would
like it to appear in the middle of the browser window, even if the
user has scrolled down a little. How would I calculate the top and
left coordinates in order to do this?
Thanks, - Dave