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!

submit button to control new browser window?

Status
Not open for further replies.

sacsadmin

IS-IT--Management
Oct 16, 2002
39
0
0
US
I have a form with a submit button. When the user clicks the button it calls page.asp, which opens in a blank window. This all works fine, but I want to be able to control the browser size depending on the amount of data returned from the asp query. for example, I do not want a toolbar, but scrolling capabilities. Is this possible?
 
I use javascript for this, but only on a link in the page

<a href=&quot;javascript:eek:penWindow('path.asp','pagetitle');&quot;>
Button Image
</a>

<script language=&quot;JavaScript&quot;>
function openWindow(url,name)
{ window.open(url,name,&quot;height='585', width='800',scrollbars=yes&quot;); window.opener = top;}
</script> Saturday 12.00
im6.gif
im2.gif
im2.gif
20.00
im5.gif
im4.gif
im7.gif
3.00am
im8.gif
Sunday [img http
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top