PDA

View Full Version : Up-selling / Section image rollovers


mjlloyd
05-Jun-2003, 12:20 PM
Hi,

I've just started evaluating Actinic Business and have a couple of issues I'm trying to address:

1) I am trying to build a site that includes product up-selling. Following the 'Creating an up-sell' instructions in the starter guide I have been able to create a single line of text with a checkbox, which the shopper ticks if he / she wants to purchase the associated product.

If I want to display other information / thumbnail image (with link to extended information perhaps) for the associated product, is there any way I can do this other than to hard-code HTML into the HTML for Name / Customer Message fields?

* * *

2) I want to add rollovers to my section images. Does anyone know the best way to achieve this? I've tried creating a custom property (CUSTOMIMAGENAME) for the image name, specifying a value for this property for each section and then adding

name="CUSTOMVAR:CUSTOMIMAGENAME"

to the <img> element in Act_SectionNavImage.html

and

onMouseOver="SwapImage('CUSTOMVAR:CUSTOMIMAGENAME','smlTES19.jpg')"

to the appropriate <a> element in Act_SectionLineImage.html.

However, this has not worked.

* * *

If anyone can point me in the right direction on either of these issues, that would be great.

Thanks
Mark

Darren
10-Jun-2003, 02:28 PM
Hi there.

I am taking a look for you, will keep you posted.

cdicken
11-Jun-2003, 03:57 PM
1) With regards to the upsell, you would be required to enter the HTML for the image etc. within the 'HTML' for name' field.

2) I have had half-success with this. The following code will largely do what you want....


<A HREF="NETQUOTEVAR:SECTIONLINK" onMouseOver="SwapImage('CUSTOMVAR:CUSTOMIMAGENAME','image2.gif')" onMouseOut="RestoreImage()">
<IMG SRC="image1.gif" BORDER=0 ALIGN="ABSMIDDLE" name="CUSTOMVAR:CUSTOMIMAGENAME">
</A>

As you can see, I have had to hard-code the two image filenames into the template as the section image filename is not available as a variable in the Section Link Layout template.

You may, however, be able to include all the required filenames for this template via custom properties defined at the section level.