SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    May 2011
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Arrow Refresh website after 1 sec. when anchor link is clicked

    Hi,

    I need a script which will refresh the page 1 sec. after the anchor text is clicked

    PHP Code:
    <a href="#YourAnchor">blabla</a

    Thanks a lot!

  2. #2
    Forums Designer
    Join Date
    Jun 2004
    Posts
    422
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    <a href="javascript:void(0);" onclick="setTimeout('document.location.href = \'#YourAnchor\';', 1000); return false;">blabla</a>


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
  •