Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 4 of 4
  1. #1
    Junior Member
    Join Date
    Jul 2003
    Posts
    27
    Member #
    2051
    How would I be able to make a page redirect to another URL after a certain seconds?


    For example, when a visitor visits the front page, I want the page redirected to another page within 10 seconds.

  2.  

  3. #2
    Senior Member Brak's Avatar
    Join Date
    Apr 2003
    Location
    San Francisco, CA
    Posts
    3,413
    Member #
    1217
    Liked
    2 times
    you COULD use the meta refresh, or a server side refresh, but I strongly advise AGAINST this. It BREAKS THE BACK BUTTON (one of the deadly sins of webdesign ) Look into a server redirect - you should see if you're using apache or IIS or something else, there's ways to redirect properly that dont break the back button.
    Kyle Neath: Rockstar extraordinare
    The blog | The poetry site | The Spore site

  4. #3
    Senior Member krazy's Avatar
    Join Date
    Apr 2003
    Location
    California
    Posts
    543
    Member #
    1078
    search 4 it
    its like 5 posts below.....
    u couldnt see it??

    http://www.webdesignforums.net/showt...light=redirect
    Ad space - for sale, $19.95/month

  5. #4
    Senior Member james's Avatar
    Join Date
    May 2003
    Location
    Melbourne, AUSTRALIA
    Posts
    364
    Member #
    1352
    <script language="JavaScript">
    setTimeout("window.location.href='http://targeturl';",time_in_milliseconds);
    </script>

    That should work. Try for 3secs = 3000 ms.
    James H
    Home Page · Mars Page · www.fihsf1.net (formerly www·fihs·net)


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 02:48 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com