Announcement

Collapse
No announcement yet.

Attention getters

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

    Attention getters

    I am looking to include attention getters in my site- what I mean by this is a symbol or animated gif on the product page stating ideal for Christmas - project idea etc....

    Any help is appreciated regards

    H
    www.craftyaddicts.co.uk

    #2
    There are several ways to do this.

    1) Save your image in the Site folder. You can then embed HTML into the product description like !!<<img src="new.gif">>!! this and the image will show.

    2) You could create a True/False product-level a Variable (or several Variables) called e.g. ChristmasGift, ProjectIdea, etc. Create images that correspond to each type. Then add code to your Product Layout like
    Code:
    <actinic:block if="%3cactinic%3avariable%20name%3d%22ChristmasGift%22%20%2f%3e%20%21%3d%20%22%22">
    <img src="christmasgift.gif">	  
    </actinic:block> 
    <actinic:block if="%3cactinic%3avariable%20name%3d%22ProjectIdea%22%20%2f%3e%20%21%3d%20%22%22">
    <img src="projectidea.gif">	   
    </actinic:block>
    Now you can set these Variables per product and the corresponding image will display.
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      Many thanks for your help- the first option worked a treat - the second option will come in use as I build up my confidence with Actinic design interface

      Thank you
      www.craftyaddicts.co.uk

      Comment


        #4
        Great. You may also want to add height="12" width="34" alt="New Product" (using correct dimensions of course) to the img tag as this helps browsers allocate space for the images before they've loaded, and the alt tag will help vision impaired users.
        Norman - www.drillpine.biz
        Edinburgh, U K / Bitez, Turkey

        Comment


          #5
          And here's another trick. Create a Site level variable called NewProduct with a default value of <img src="new.gif" height="12" width="34" alt="New Product" />

          Now you can embed the contents of that variable in your HTML simply by typing [NewProduct] into your product description where you want it to appear.
          Norman - www.drillpine.biz
          Edinburgh, U K / Bitez, Turkey

          Comment

          Working...
          X