Forum Moderators: open

Message Too Old, No Replies

Timed interstitial page - often used as ads or redirects

Can't figure out the right code to create one of these puppies.

         

Hawkgirl

10:13 pm on Aug 19, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I know we're trying to keep "do my homework" threads to a minimum here, but my searches have turned up nothing and I'm sure someone here can help!

I need to create an interstitial page that will load, sit for five seconds with a nice little message ("we are now sending you to our partner, TrustedWidgets.com, please hold"), and then redirect users to a new site.

Has anyone here done one of these before? What's the best way to do this? (Or, alternately, can anyone point me in the right direction as far as where to go to read up on it?)

Thanks!

oilman

10:15 pm on Aug 19, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



sounds like a straight meta refesh would do the trick for you Hawkgirl.

Chris_R

10:19 pm on Aug 19, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You want this as a popup?

I don't know if you can do metarefresh from a popup -as you would have to do the blank target tag. If you can do that - it would be easy.

Hawkgirl

10:26 pm on Aug 19, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Doesn't have to be a pop-up ... although I'd like to know how to do that, as well. :)

I'm more thinking of how Orbitz has its "We're searching for your lowest fare" page ... just a few seconds of a message and then boom! onto another page.

Purple Martin

10:31 pm on Aug 19, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You could use the popup's onLoad event to call a JavaScript function that redirects. To make it wait 5 seconds, wrap the function call in a setTimeout.

Of course, a few people have JavaScript turned off. That's why you should always include a clickable link "if you are not automatically redirected".

Chris_R

10:50 pm on Aug 19, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Yes - you could do what purple said as well...

[htmlbasix.com...]

pop up maker

[google.com...]

find meta refresh command

Hawkgirl

11:01 pm on Aug 19, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thanks for all of the responses. I'm a conceptual person and not much of a coder - this help is greatly appreciated!