Delay on index page and then redirect

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • RPW
    Staff Sergeant

    • Jan 2006
    • 49

    Delay on index page and then redirect

    I know I have seen this somewhere but cant find it in the history of previous questions and tips.

    What I want to do is have my index page with a logo on it so when someone logs onto the website they get the logo

    Then after a delay of a second or two another page (say we call this index 2) loads up by fading in

    Thanks
  • Collectors-info
    General

    • Feb 2006
    • 8703

    #2
    Re: Delay on index page and then redirect

    Hi, cut & paste the code into a html box on your BV page & preview.
    The fading in of the next page a done on that page via efects in page properties.
    You can ajust the time delay via the 5000 (5secs) in this part of the script.

    Good luck.

    HTML Code:
    <html>
    <title>CodeAve.com(javascript: Timed Redirect on Page Load)</title>
    <body onload=setTimeout("location.href='http://www.collectors-info.com'",5000) bgcolor="#FFFFFF">
    This page contains an onload command that will redirect the browser
    <br>
    to Yahoo! 5 seconds after the page has loaded
    <br>
    If your browser does not continue on to Collectors-info.com!<br>
    Click <a href="http://www.collectors-info.com">here</a>
    </body>
    </html>
     
    Regards Chris.

    Collectables, Collecting, collectors-info.com

    www.chrismorris.co.uk

    House build project

    Comment

    Working...
    X