Computex
« need help with code »

Welcome Guest. Please Login or Register.
Dec 27, 2009, 6:25pm




Computex :: Computer Graphics & Coding :: Coding :: need help with code
   [Search This Thread][Send Topic To Friend] [Print]
 AuthorTopic: 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 :)
Link to Post - Back to Top  IP: Logged
bcxguru
Staff Member
*****
member is offline

[avatar]



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 :P
Link to Post - Back to Top  IP: Logged
[w00peR]
Your Boss
*****
member is offline

[avatar]



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>






Link to Post - Back to Top  IP: Logged

[image]
   [Search This Thread][Send Topic To Friend] [Print]

Click Here To Make This Board Ad-Free


This Board Hosted For FREE By ProBoards
Get Your Own Free Message Boards & Free Forums!