Computex :: Computer Graphics & Coding :: Coding :: need help with code
| Author | Topic: need help with code (Read 99 times) |
Ibrahim2mb Noob
 member is offline
Joined: Oct 2003 Posts: 6
|  | need help with code « Thread Started on Nov 14, 2003, 12:39pm » | |
ok im sorry if this is a n00b question but how do i get a popup to popup in the middle and not in a random place here is the code,
<script> function test() { var hangman="test.htm" winpops=window.open(hangman,"","width=410,height=250,") }
</script>
<a href="javascript:test()">Click here to test</a>
Thanks
| |
|
bcxguru Staff Member
     member is offline
![[avatar]](http://graphicsforum.250free.com/kenshin.gif)
Joined: Oct 2003 Posts: 19
|  | Re: need help with code « Reply #1 on Nov 15, 2003, 3:01pm » | |
strange..
I was gonna tell him to add posiition=center but i just remembered that i am not programming in PHP
| |
|
[w00peR] Your Boss
     member is offline
![[avatar]](http://www.angelfire.com/pro/computex/1559.gif)
Joined: Oct 2003 Posts: 79
|  | Re: need help with code « Reply #2 on Nov 15, 2003, 3:04pm » | |
<script> function test() { var hangman="test.htm" winpops=window.open(hangman,"","width=410,height=250,top=400,left=400") }
</script>
<a href="javascript:test()">Click here to test</a>
|
![[image]](http://www.angelfire.com/goth2/rpgforum/monestary.jpg) |
| |
| |
|