SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Addict zeeb44's Avatar
    Join Date
    Apr 2011
    Location
    Greenville, SC
    Posts
    202
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    delayed redirect help

    I have a site that I have a delayed redirect on. It is here - http://zeeb44.com

    I have it redirect to the #about anchor after three seconds. I am wondering how that can be modified so it will scroll with "ease". An example is when you click on a link at the top. The scrolling effect from section to section. I want that effect to happen when the delay redirect happens. Any help?

    HTML Code:
    <script type="text/javascript">
    function delayedRedirect(){
        window.location = "#about"
    }
    </script>
    HTML Code:
    <body onLoad="setTimeout('delayedRedirect()', 3000)">
    Personal Portfolio - Zeeb44
    IT Manager for - Family Dental Health

  2. #2
    SitePoint Wizard bronze trophy chris.upjohn's Avatar
    Join Date
    Apr 2010
    Location
    Melbourne, AU
    Posts
    2,189
    Mentioned
    17 Post(s)
    Tagged
    1 Thread(s)

  3. #3
    SitePoint Addict zeeb44's Avatar
    Join Date
    Apr 2011
    Location
    Greenville, SC
    Posts
    202
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Greatly appreciated. Thanks!
    Personal Portfolio - Zeeb44
    IT Manager for - Family Dental Health


Bookmarks

Posting Permissions

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