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

ASP and pop-ups

Status
Not open for further replies.

LaPluma

Programmer
Feb 3, 2002
139
DE
Hello

I have a simple ASP page which says 'Thank you + name' to the person who has visited the site, completed the form, and clicked 'submit'.

This 'Thank you + name' page is a full Web page, but I wonder if it is possible to create it as a pop up window, loaded immediately the user clicks 'submit'. I think it would also look better if the pop up appeared centred and over the Web page which holds the form.

I know pop up windows can be created in JavaScript, but I am not sure how to combine the JavaScript with the current 'Thank you' page which I have, which is:

<% @ Language=VBScript %>

<% user_name = request.form(&quot;user_name&quot;) %>

<html>
<body bgcolor=&quot;#FF9900&quot;>
<center><b><font face=&quot;courier&quot;><font color=&quot;#FFFFFF&quot;><font size=1>
<p>Thank you <%=user_name%>
<p>Your request for a quote has been received <p>
Please check your inbox</p></p></font></font></font></b></center>

</body>
</html>

Many thanks for any sugestions.

LaPluma
 
Hello Kris

Many thanks for your reply - and the link.

Best wishes

LaPluma
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top