PDA

View Full Version : Alt text


jacy
05-Jan-2004, 07:16 AM
Hi All,
I am using extended info pop ups which have images and product info in them. Is there any way I can add alt text to the images?

Cheers,

Mitch

Darren
05-Jan-2004, 11:52 AM
Hi Mitch.

You can add alt text to the images in your popups. To do this, open your popup window template (make a backup first). Look for:

<IMG SRC="NETQUOTEVAR:INFOIMAGE"

and insert after it ALT="CUSTOMVAR:ALTERNATETEXT"

so it looks like:

<IMG SRC="NETQUOTEVAR:INFOIMAGE" ALT="CUSTOMVAR:ALTERNATETEXT"

Now save the template, and goto the Advanced | Custom Variables menu, and add a new custom variable with the name of ALTERNATETEXT .

To set your ALT text for each product popup, go to the product which has the popup box, click on the properties tab, add your new ALTERNATETEXT property, and type what you want the ALT text to be for that product popup. If you are using Actinic Business or Developer, make sure Searchable is not ticked, and Use as Customvar is ticked.

I hope this helps

jacy
05-Jan-2004, 08:05 PM
Thanks Darren ,
That works like a charm!! :D

Cheers,

Mitch

Darren
06-Jan-2004, 10:25 AM
Hi there.

I am glad it worked for you. There are other clever things that you can do with customvars in popup boxes, take a look at Chris D's post Here (http://community.actinic.com/showthread.php?s=&threadid=4990)

I hope you find this useful.