Announcement

Collapse
No announcement yet.

"Add to cart" button image rollover ?

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

    "Add to cart" button image rollover ?

    Does the Add to Cart image button have a rollover ?

    I have modified Design > Options > Shop Defaults to use an image instead of the default form button. However there is no rollover option as far as I can see?

    S?
    esafetysigns.co.uk
    your instant download portal for self printable health and safety signs and posters
    ... download once use as many times as you like !


    http://www.esafetysigns.co.uk/index.html
    http://www.esafetysigns.co.uk/acatalog/index.html

    #2
    Hi,

    This is not a standard feature of the software, but is covered within the Advanced User Guide which you can download from the download section of the Actinic website, but here is what is in it for the rollover on add to cart button you need:

    Creating a Rollover for your Add to Cart Button
    Assuming your two images for the rollover are called 'addtocart.gif' and 'addtocart2.gif', then you would create the rollover in the following way:
    In 'Design | Options | Shop Defaults', specify 'addtocart.gif' as the image for your add to cart button.
    Then edit 'Act_CartButtonImage.html' and replace the contents there with the following:
    <P align="right">
    <INPUT TYPE="IMAGE"
    NAME="NETQUOTEVAR:BUTTONNAME"
    SRC="NETQUOTEVAR:BUTTONIMG"
    HEIGHT="NETQUOTEVAR:IMAGEHEIGHT"
    WIDTH="NETQUOTEVAR:IMAGEWIDTH"
    ONMOUSEOVER="src='addtocart2.gif' "
    ONMOUSEOUT="src='NETQUOTEVAR:BUTTONIMG' "
    ALT="NETQUOTEVAR:BUTTONLABEL"
    >
    </P>

    Comment


      #3
      I'm not sure but I think the fragments

      src=

      should be

      this.src=
      Norman - www.drillpine.biz
      Edinburgh, U K / Bitez, Turkey

      Comment


        #4
        Excellent ...

        Thanks all.

        To clarify the src worked as presented originally
        Code:
        ONMOUSEOVER="src='addtocart2.gif' "
        And now for my next problem...... S.
        esafetysigns.co.uk
        your instant download portal for self printable health and safety signs and posters
        ... download once use as many times as you like !


        http://www.esafetysigns.co.uk/index.html
        http://www.esafetysigns.co.uk/acatalog/index.html

        Comment


          #5
          Actually I am wrong, this does not work on the live site.
          The button works but the rollover image "OnMouseOver" doesn't ?

          I have tried all options, Norman's as well, and couldnt get it to work.

          I tinkered and got this to work in Dreamweaver
          Code:
          <P align="right">
          <INPUT TYPE="IMAGE" 
          NAME="NETQUOTEVAR:BUTTONNAME" 
          SRC="NETQUOTEVAR:BUTTONIMG" 
          HEIGHT="NETQUOTEVAR:IMAGEHEIGHT" 
          WIDTH="NETQUOTEVAR:IMAGEWIDTH"
          ONMOUSEOVER= src="addtocart2up.gif"
          ONMOUSEOUT= src="NETQUOTEVAR:BUTTONIMG"
          ALT="NETQUOTEVAR:BUTTONLABEL"
          > 
          </P>
          this gives me
          Code:
          <P align="right"><INPUT TYPE="IMAGE"
          NAME="20"
          SRC="addtocart2.gif"
          HEIGHT="24"
          WIDTH="80"
          ONMOUSEOVER= src="addtocart2up.gif"
          ONMOUSEOUT= src="addtocart2.gif"
          ALT="Add To Cart" > </P>
          Which works fine when I test in DWeaver, but as I said not so good on the live site?

          See for yourself.... http://www.esafetysigns.co.uk/acatalog/eye_01.html

          Any ideas ?

          Thanks, S.
          esafetysigns.co.uk
          your instant download portal for self printable health and safety signs and posters
          ... download once use as many times as you like !


          http://www.esafetysigns.co.uk/index.html
          http://www.esafetysigns.co.uk/acatalog/index.html

          Comment


            #6
            have you added the new images to the "additional files" list so they are uploaded to the server?


            Bikster
            SellerDeck Designs and Responsive Themes

            Comment


              #7
              Yes they are there and they are in Site1, but after checking to see if they were on the host site, they weren't?

              I have manually FTP'd the files, the problem has gone away.

              The "Additional Files" thing is a bit flaky?

              Am I doing something wrong?
              esafetysigns.co.uk
              your instant download portal for self printable health and safety signs and posters
              ... download once use as many times as you like !


              http://www.esafetysigns.co.uk/index.html
              http://www.esafetysigns.co.uk/acatalog/index.html

              Comment

              Working...
              X