Centerd JS Window?
- Started
- Last post
- 6 Responses
- elahon
I'm trying to have a window open up in the center of the screen. I've used JS in the link to open the window to a certain size, but I can't center it.
Here's the code so far:
a href="#" onClick='window.open("web_001.ht... "newWindow", "width=300,height=300");'>www.ma...
- epill_0
would this work:
a href="#" onClick='window.open ("web_001.htm", "newWindow", "width=100%,height=100% 0");'>www.maineimage photography.com
??
- bulletfactory0
http://www.google.com/search?hl=…
that was hard
- epill_0
dammit!!
in brackets "center"
a href="#" onClick='window.open ("web_001.htm", "newWindow", "width=100%,height=1 00% 0");'>www.maineimage photography.comin brackets "/center"
- radar0
3 Man Army has a good resource for centered pop ups in the Code Vault. http://www.3manarmy.com
or here is ZIP file.
http://www.3manarmy.com/__system…
- epill_0
radar thanks for that link!!!
i didnt know that screen positioning was possible or even an option.good stuff!!!
- elahon0
Nice! Thanks guys.