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

On after submitting a form I want to display a Thank You child window

Status
Not open for further replies.

TonyU

Technical User
Feb 14, 2001
1,317
US
[tt]Is it possible to have a user fill out a form then upon submitting and or after submitting have a child window pop-up with a "Thank You" note on it then have the default window open?
[tt]"A Successful man is one who can build a firm foundation with the bricks that others throw at him"[/tt]
[noevil]
 
Its possible but I had a H of time trying to make it a small window.. but with a few ideas you can get it to work..

<form target=&quot;_blank&quot; name=&quot;form1&quot; method=&quot;post&quot; action=&quot;thankyou.asp&quot;>

thankyou.asp page:
onload=self.resizeTo(&quot;350&quot;,&quot;410&quot;);self.focus();

then have it redirect back to itself, with different size values, I was trying to figure out how to make it full window again..

<SCRIPT LANGUAGE=&quot;JavaScript&quot;>
redirTime = &quot;5000&quot;;
redirURL = &quot;thankyou.asp?go=default&quot;;
function redirTimer() { self.setTimeout(&quot;self.location.href = redirURL;&quot;,redirTime); }
</script>


Or something to that affect..
star.gif
if I helped. [wink]
s_vzio.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top