G
Gregory Casamento
I have a relatively large/long webpage on which I am trying to display
a box (using DHTML) in the center of the users view. This box must
be centered if the user is part of the way down the page when the user
hits a button.
Does anyone know how to get the scrollers relative positions to do
this? I've already tried document.body.scrollLeft and
document.body.scrollTop and those don't seem to work. The
application I'm working on supports both IE and Netscape so a generic
solution would be preferrable.
Thanks so much for any help, in advance. Please email me at:
(e-mail address removed), if possible.
Thanks, GJC
a box (using DHTML) in the center of the users view. This box must
be centered if the user is part of the way down the page when the user
hits a button.
Does anyone know how to get the scrollers relative positions to do
this? I've already tried document.body.scrollLeft and
document.body.scrollTop and those don't seem to work. The
application I'm working on supports both IE and Netscape so a generic
solution would be preferrable.
Thanks so much for any help, in advance. Please email me at:
(e-mail address removed), if possible.
Thanks, GJC