Created
March 14, 2013 19:20
-
-
Save danielfilho/5164329 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var __w = 1024, | |
| __h = 768, | |
| __left = (screen.width/2) - (__w/2), | |
| __top = (screen.height/2) - (__h/2); | |
| // Resize do popup | |
| window.resizeTo(__w, __h); | |
| // Centralizar tela | |
| window.moveTo(__left, __top); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment