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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Width & Height attributes on submit ??

Status
Not open for further replies.

Trillithium

Technical User
Dec 9, 2000
27
0
0
NL
Hi,

Is it possible to give on a submit, with the Post or Get methode, the window attributes of the new page. My aim is to change Height and Width values of the the new window. I know it works with Target=_blank to get a new window. But now this window, must be 300 by 300.

 
Hi,

I know not exactly but I saw somewhere a javascript function like:

function ABC ()

{
window.open('sitename.html', '','toolbar=yes/no,
scrollbars=yes/no,resizable=yes/no,top=20,left=20,
heigth=300,width=300');
}

I'm no java-expert so I'm not sure about the excact syntax.

Good Luck,
Erik
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top