SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Evangelist
    Join Date
    Oct 2000
    Posts
    407
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Link back with refresh?

    I have this link that allows users to go back a page:

    <a href="javascript:history.go(-1)">

    But is there anyway to make it automatically refresh the page it goes back to?

  2. #2
    <C²: web standards /> cybercodeur's Avatar
    Join Date
    Dec 2001
    Location
    Montréal
    Posts
    729
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Funny you ask I am wondering about the same thing at the very moment.

    I think you could do it with meta refresh, like so:

    <meta http-equiv="refresh" content= "1; url=whatever.html" />

    And it would refresh after a second. The problem is that it would refresh every second. But I'm sure there is a way to make it refresh only once, using javascript.

    I'll keep looking and tell you when I find it.
    Denis Boudreau <C²/> - Web Standards & Accessibility
    [+] ICQ number: 115649885 || Email: denis@cybercodeur.net
    [+] Daily Weblog on Web standards and accessibility : CYBERcodeur.net

  3. #3
    SitePoint Evangelist
    Join Date
    Oct 2000
    Posts
    407
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yeah, I actually tried that and it just kept refreashing

    Let me know if you find a solution.


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
  •