Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script type="text/javascript">
- function openWin(url, title, w, h) {
- var left = (screen.width/2)-(w/2);
- var top = (screen.height/2)-(h/2);
- //myWindow = window.open('+url+', 'myWindow', width='+w+', height=+h+, left=+ left + ,top= + top + ,screenX= + left + ,screenY=+ top +);
- return window.open(url, title, 'width='+w+', height='+h+', top='+top+', left='+left);
- }
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement