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!

How do I create a pop-up box

Status
Not open for further replies.

plshelpme

Programmer
Nov 1, 2001
27
0
0
CA
Hey.

I'm trying to get my website to put up a message box for which the user has to click OK before being re-routed to a new site.

I have tried msgbox using VBScript, but i can not get the box to display at all, the site just re-routes. I also tried to get the site to delay before re-routing using:
Code:
dim timestart
timestart = FormatDateTime(Now, vbShortTime)
dim timeend
timeend = timestart + "100"
Do While timestart > timeend 
	timestart = FormatDateTime(Now, vbShortTime)
Loop
Response.Redirect("thenewsite")
...but still no message box, and no noticible delay either.

anyone??
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top