Announcement

Collapse
No announcement yet.

Back Button

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Back Button

    Hi all

    I want my users to use a Back button on my website instead of using the Browser Back button but I am having trouble implementing this, when I try I just see the Javascript code. Can anybody give me directions so I have a Back Button on all my web pages?

    Regards

    Steve

    http://212.106.97.187/index.html

    #2
    enclose your script in the correct tags.

    <script>script here.</script>

    Comment


      #3
      <a href="javascript:history.go(-1)">BACK</a>
      or this..............

      Comment


        #4
        pfft!

        never to be outdone...

        HTML Code:
        <form>
        <input type="button" value=" &lt;-- BACK " onclick="history.go(-1);return false;" />
        </form>

        Comment


          #5
          Thanks very much to both of you. I certainly cannot complain about the support you get on this forum!

          Thanks again

          Steve

          Comment


            #6
            Originally posted by gabrielcrowe
            never to be outdone...
            ... I thought you would have at least used a nice graphic in there for the button ... your standards are slipping


            Bikster
            SellerDeck Designs and Responsive Themes

            Comment


              #7
              I will be using graphics and rollovers later, as I have some very demanding bosses. I normally use ecommercetemplates for my websites, see http://www.powacycle.co.uk, http://www.ultimastore.co.uk and http://www.akhter.co.uk where I have complete control over the code etc. I am finding Actinic quite a big learning curve and although the built-In functions are great my biggest problem I have is customising it as per my bosses instructions.

              Expect a lot more questions!

              Steve

              Comment


                #8
                ....feeling...standards... slipping...away.... ....

                *keels over in a pool of horrid colored blood, and badly matching clothes*

                edit ==>
                at that exact moment i posted the button html, i was actually making images to replace the images in V8's cart next and back buttons.

                odd. are you all in my head?

                Comment


                  #9
                  I get the same effect watching Richard & Judy


                  Bikster
                  SellerDeck Designs and Responsive Themes

                  Comment


                    #10
                    you watch richard and judy?

                    Comment


                      #11
                      It will be alright on the night or May 1st which is my deadline for this website so I look forward to your comments then, er then again maybe not!

                      Comment


                        #12
                        zoinks! more then 3 weeks to put up with our daft answers. the force will be with you, always.

                        Comment


                          #13
                          Originally posted by gabrielcrowe
                          you watch richard and judy?
                          Only when I feel standards slipping

                          Originally posted by stevet
                          I look forward to your comments then, er then again maybe not!
                          Always worth posting a new site for comment as very easy to miss something when you are so close to it ... some comments can be hard to swallow (especially when it's your baby) but all are intended for the good of the site and not as a flame war


                          Bikster
                          SellerDeck Designs and Responsive Themes

                          Comment


                            #14
                            Hi, i'm just add the back button javascript into my products but have had i little error with it. I've adapted Gabriels code to read:

                            HTML Code:
                            <form>
                            <input align="left" type="image" src="back.gif" onclick="history.go(-1);return false;" />
                            </form>
                            I implimented it into the standard production image layout, but i doing this it completely disabled the 'Add to Cart' button. I then realised i had missed the <script> </script> tags. Where do these need to be placed?

                            Cheers FrAz
                            Cheers FrAz

                            Comment


                              #15
                              Have you ever added anything that didn't break something, seriously OMG! The modern day Harold Lloyd springs to mind, even Taddy isn't this bad.

                              You will be falling foul of nested form tags I expect. There is a standard actinic offering to have a back button which takes you up a level, hows about using that instead?

                              <a href="<actinic:variable name="UpALevelPageURL" />">Go Back</a>

                              Comment

                              Working...
                              X