Reload webpage

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Leonard3
    New Member
    • Dec 2007
    • 4

    Reload webpage

    How can I make my website to load other web page when user hits browser back button ?
  • Markus
    Recognized Expert Expert
    • Jun 2007
    • 6092

    #2
    Originally posted by Leonard3
    How can I make my website to load other web page when user hits browser back button ?
    Pretty much impossible... especially with HTML and CSS.

    Could you explain a little more please?

    thanks.

    Comment

    • drhowarddrfine
      Recognized Expert Expert
      • Sep 2006
      • 7434

      #3
      Not just pretty much. The back button is controlled by the browser program and you have no access to it.

      Comment

      • Markus
        Recognized Expert Expert
        • Jun 2007
        • 6092

        #4
        Better get making your own browser then ;)

        Comment

        • Leonard3
          New Member
          • Dec 2007
          • 4

          #5
          Thanks for replies,

          In fact I want to offer random photos if user checks one of linked categories then decides to come back master page for daily shots using back button not reloading link, before they leave website.

          Comment

          • Leonard3
            New Member
            • Dec 2007
            • 4

            #6
            and let me know if I can change page using by some thing like refresh.

            Comment

            • Death Slaught
              Top Contributor
              • Aug 2007
              • 1137

              #7
              Actaully....... in JavaScript you can create a function that when the user clicks a button or whatever you have the onClick attribute on. It will take the user back to the very last page visited.

              If that's what you're looking for ask over in the JavaScript forum.

              Thanks, Death

              Comment

              • Markus
                Recognized Expert Expert
                • Jun 2007
                • 6092

                #8
                Originally posted by Death Slaught
                Actaully....... in JavaScript you can create a function that when the user clicks a button or whatever you have the onClick attribute on. It will take the user back to the very last page visited.

                If that's what you're looking for ask over in the JavaScript forum.

                Thanks, Death
                i think (s)he is asking exclusively for the back button supplied by the browser.

                Comment

                • Leonard3
                  New Member
                  • Dec 2007
                  • 4

                  #9
                  Originally posted by markusn00b
                  i think (s)he is asking exclusively for the back button supplied by the browser.
                  Yes, just back button :)

                  Comment

                  • Death Slaught
                    Top Contributor
                    • Aug 2007
                    • 1137

                    #10
                    I relized that, I was simply giving another option.

                    Thanks, Death

                    Comment

                    • Markus
                      Recognized Expert Expert
                      • Jun 2007
                      • 6092

                      #11
                      Originally posted by Leonard3
                      Yes, just back button :)
                      Well, unfortunately it's impossible to prevent them from using it.

                      Comment

                      Working...