Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with new window

Status
Not open for further replies.

gcastillo

Programmer
Jun 9, 2000
127
MX
I need to open a new window from my page with a specific size. How can I do it??  
 
The format for opening windows is below:<br><br>window.open(&quot;URL&quot;, &quot;windowName&quot;, &quot;features&quot;);<br><br>The URL is the page that will load into the new window, the windowName is what you will identify the window as (so you can load other pages into that window), and the features are explained below.<br><br>toolbar=yes¦no<br>location=yes¦no<br>directories=yes¦no<br>status=yes¦no<br>menubar=yes¦no<br>scrollbars=yes¦no<br>resizable=yes¦no<br>width=Num¦Percent<br>height=Num¦Percent<br>screenX=Num<br>screenY=Num<br><br>Features must appear as a group in parenthases, separated by a comma. screenX and Y will move the window to the x,y coordinate on the screen.&nbsp;&nbsp;<br><br>window.open(&quot;&quot;, &quot;&quot;, &quot;width=100, height=100, screenX=0, screenY=0&quot;);<br><br>Jonathan
 
Thanx!<br>I had some problem with the place where to put the code, but it's working now.<br>Thanks again
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top