Javascript for removing menu and scroll bars
Posted
by nWight
on Stack Overflow
See other posts from Stack Overflow
or by nWight
Published on 2010-04-14T14:20:46Z
Indexed on
2010/04/14
14:23 UTC
Read the original article
Hit count: 115
JavaScript
Hi - I have this script on my html page:
parent.resizeTo(550,510);I'd like to add to it so it positions the window in the middle of the screen. Also, I want to remove the address and tool bars (I've managed to hide the scrollbars by using body{overflow:hidden;}).
I know how to do this using JS upon opening a new window from the browser but this needs to work from clicking a link on a PDF.
Does anyone have any suggestions? Thank you!
© Stack Overflow or respective owner