JavaScript - How to automatically Forward...
Results 1 to 5 of 5

Thread: JavaScript - How to automatically Forward...

  1. #1
    Join Date
    Mar 2000
    Location
    Cincinnati, OH
    Posts
    121

    JavaScript - How to automatically Forward...

    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!
    Windows XP (full version, clean install, service pack 1)
    Mainboard K7S5A
    AMD Athlon 1.2Ghz CPU
    Crucial 1 GB DDR
    Western Digital 30GB Internal HD
    ATI Radeon 8500LE 128MB AGP
    Intel(R) 100+/PCI Ethernet
    Sound Blaster PCI 512
    Samsung CD-RW 48x16x48
    Generic 3 1/2" floppy
    Epson C60 Printer (USB)
    Creative CS100 Speakers
    A stone-age CTX color monitor
    Gravis Eliminator GamePad Pro (USB)
    Cisco 675 DSL Router
    Drivers Are Always Up To Date
    Patches are a Ditto

  2. #2
    Join Date
    Feb 2000
    Location
    England
    Posts
    160
    Hi,

    You'll find everything you need at this link. Just follow the instructions to create your unique code
    http://javascript.internet.com/user-...-redirect.html

    Zin



    ------------------
    Standing on the Shoulder of Giants
    Standing on the Shoulder of Giants

  3. #3
    Join Date
    Feb 2000
    Location
    Australia
    Posts
    44
    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

  4. #4
    Join Date
    Jan 2000
    Location
    Finger Lakes
    Posts
    202
    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
    Errare humanum est et persevere diabolicum

  5. #5
    Join Date
    Mar 2000
    Location
    Cincinnati, OH
    Posts
    121
    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!
    Windows XP (full version, clean install, service pack 1)
    Mainboard K7S5A
    AMD Athlon 1.2Ghz CPU
    Crucial 1 GB DDR
    Western Digital 30GB Internal HD
    ATI Radeon 8500LE 128MB AGP
    Intel(R) 100+/PCI Ethernet
    Sound Blaster PCI 512
    Samsung CD-RW 48x16x48
    Generic 3 1/2" floppy
    Epson C60 Printer (USB)
    Creative CS100 Speakers
    A stone-age CTX color monitor
    Gravis Eliminator GamePad Pro (USB)
    Cisco 675 DSL Router
    Drivers Are Always Up To Date
    Patches are a Ditto

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •