Click to See Complete Forum and Search --> : JavaScript - How to automatically Forward...
Matt91123
May 9th, 2001, 01:23 AM
I'm building a web page, and I want the user, upon visiting one page, to be automatically forwarded to another, like VD does when you create a new topic. How do I do that?
------------------
Well, if I'm still posting, my computer must be still running! Thank you, Virtual Doctor!
Zinzan
May 9th, 2001, 08:26 AM
Hi,
You'll find everything you need at this link. Just follow the instructions to create your unique code http://discussions.virtualdr.com/smile.gif
http://javascript.internet.com/user-details/referrer-redirect.html
Zin
------------------
Standing on the Shoulder of Giants
Nat
May 11th, 2001, 02:39 AM
Hi
If you simply want to re-direct to another page after a certain amount of time you can do this by using the following command in the meta tag field
<META HTTP-EQUIV="REFRESH" CONTENT="5;URL=http://www.somthingorother.com">
The code is pretty simple all this does is refresh the page after the time specified in the CONTENT tag, in this case 5 seconds and the URL is self-explanatory, you can use a relative address or absolute address in the URL field.
Hope this helps
hbv2
May 11th, 2001, 09:10 AM
really weight your options
are you doing it for fun or for commerce?
if so beware that spiders do not like a lot re direct
------------------
Errare humanum est et persevere diabolicum
Matt91123
May 11th, 2001, 10:32 PM
That's exactly what I wanted, Nat! Thanks a bunch! Zinzan, also big thanks to you because that page has a lot of really useful stuff. I'm doing this page for fun, and I have changed it around a lot. I moved the main page once so I wanted users to be redirected there.
Thanks Everyone!
Matt
------------------
Well, if I'm still posting, my computer must be still running! Thank you, Virtual Doctor!