alaios
08-10-2002, 06:34 PM
<select name="select" size="1" onChange="window.open( document.form1.select.options[document.form1.select.selectedIndex].value,'temp','width=200,height=300,top=???,left=??? ');" >
<option selected value="#">proigoumena poll</option>
I want to center the new window right in the screen (screen.availWidth-200) and
(screen.availHeight/2-300)
What I must write in the ???. I am trying to use javascript in top and left but I cannot.
Can u help me?
<option selected value="#">proigoumena poll</option>
I want to center the new window right in the screen (screen.availWidth-200) and
(screen.availHeight/2-300)
What I must write in the ???. I am trying to use javascript in top and left but I cannot.
Can u help me?