SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Enthusiast
    Join Date
    Sep 2003
    Location
    Indonesia
    Posts
    40
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    script like Back button on IE

    Hi, do anyone know how to make a script that will act like "Back" button on Internet Explorer?
    thx

  2. #2
    googlicious graymatter bvarvel's Avatar
    Join Date
    Sep 2002
    Location
    Katy, TX
    Posts
    956
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Try:
    PHP Code:
    <a href="java script: history.back()">Back</a
    *note - sitepoint keeps seperating java and script above but it should be ONE word.

  3. #3
    SitePoint Evangelist Mr. Brownstone's Avatar
    Join Date
    May 2002
    Location
    Relative
    Posts
    452
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I believe history.go(-1); is more cross-browser compatible, but I could be delirious.
    Of course, that's just my opinion. I could be wrong.

  4. #4
    Web-coding NINJA! silver trophy beetle's Avatar
    Join Date
    Jul 2002
    Location
    Dallas, TX
    Posts
    2,900
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Mr. Brownstone
    ..., but I could be delirious.
    Get's my vote [img]images/smilies/thumbs_up.gif[/img]

    I could be delirious too [img]images/smilies/jumping.gif[/img]
    Last edited by beetle; Oct 2, 2003 at 13:04.
    beetle a.k.a. Peter Bailey
    blogs: php | prophp | security | design | zen | software
    refs: dhtml | gecko | prototype | phpdocs | unicode | charsets
    tools: ide | ftp | regex | ffdev




  5. #5
    I'll take mine raw silver trophy MikeFoster's Avatar
    Join Date
    Dec 2002
    Location
    Alabama, USA
    Posts
    2,560
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This entire week has had me delirious

    I just wanna lay on the beach and do nothing...... is that so bad?



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
  •