Javascript Question....
I have a javascript question that's for a site that I'm working on:
I have a javascript function written for opening a page in a separate window. Some of this script is the following:
function daWindow(){
newWindow=window.open("blahblahblah.htm","newWindow","width=698,height=620");
}
The problem is that I would like the new window to open and always be centered on the screen. I know about the "moveTo()" function in javascript, but I'm not sure if this would be a way to do it. Any suggestions? I'd really appreciate it
timjpriebe posted this at 11:03 — 4th August 2006.
He has: 2,667 posts
Joined: Dec 2004
I knew I'd done this in the past, so I found this in a quick search:
http://www.computing.net/webdevel/wwwboard/forum/1517.html
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.