Announcement

Collapse
No announcement yet.

Text displayed when mouse pointer floats over images

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

    Text displayed when mouse pointer floats over images

    Hi

    I have identified some issues to do with what is displayed when the mouse pointer is floated over images - At catalog top level, when floating mouse pointer over images, the name of the section is displayed over the image. In subsection pages, the subsection name is displayed. On product pages, when floating over an image attached to a specific product, the product's "short description" is displayed.

    Does anyone have any general pointers as to how to control/customise the text displayed in these circumstances?

    Nick
    Fighting with sellerdeck on http://www.nickdobsonwines.co.uk

    #2
    This is a tricky one. I can tell you how to do it for products, but not for sections:

    First, you would need to create a new custom property in 'Advanced | Custom Properties' called 'ALT_TEXT' or something.

    You would then need to edit your Product Layout template - this is normally called 'Act_ProductLine.html' and the easiest way to edit it is to go to 'Design | Options | Layout' and click the edit button next to the 'Default Product Layout' field.

    Locate a variable that says: NETQUOTEVAR:PRODUCTIMAGE

    Replace it with the following:
    <IMG SRC="NETQUOTEVAR:IMAGEFILE" ALT="CUSTOMVAR:ALT_TEXT" BORDER=0 NETQUOTEVAR:IMAGEHEIGHT NETQUOTEVAR:IMAGEWIDTH>

    Save the template.

    Now, you can go to any one of products, go to the 'Properties' tab and:
    - Click the '+' to add a new row to the grid
    - Select 'ALT_TEXT' from the drop-down
    - in the 'Value' field, enter the alt text you want
    - Tick 'Use as CUSTOMVAR' if present.

    You should now have custom alt text for each product.

    This will not work for sections as you cannot have a different custom property value for each section link on a page.

    Comment

    Working...
    X