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

Can I specify attributes of a new window?

Status
Not open for further replies.

skootz

Technical User
Jan 22, 2003
11
0
0
GB
I have a php login script that is actioned to open an authentication page after the user enters their details, ie.

<form name=&quot;login&quot; method=&quot;post&quot; action=&quot;auth.php&quot;>

Currently this opens auth.php in a new window which is ok but is there any way for me to specify the size and attributes of the window?

Any help would be much appreciated, thankyou in advance....
 
Why don't you use JavaScript in the new window
something like:
<script type=&quot;text/javascript&quot;>
<!--
window.moveTo(0,0)
window.resizeTo(w,h)
// -->
</script>
 
can i look at the code that opens the new window?

are u using target or javascript?

Known is handfull, Unknown is worldfull
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top