PDA

View Full Version : Changing Product Image dependant on drop down value


elfynfire
17-Oct-2003, 06:50 PM
Is it possible to change a product image depending on what has been selected from a drop down box. i.e. I have various designs available for my products and would like to enable the users to see the design as they select it from the drop down box.

Thanks for any help.

Elfyn

garyhay
20-Oct-2003, 08:42 AM
http://www.myfamilyname.org.uk/acatalog/First_Name_Scroll.html This works the other way round.

Is this of any use to you

elfynfire
20-Oct-2003, 09:07 AM
Gary,

Thanks for your reply, I came across a script over the weekend from javascriptkit.com which does exactly what I need. I've tried this on a blank html page outside of actinic with some of my product images and it works fine.

The problem I've now got is how do I implement this code within my Actininc catalogue.

It tells me in the javascript instructions that I need to place one section of the script in the page header and then place the other code where the drop down box appears.

I would appreciate any help you could give me on this.

Best Regards

Elfyn

garyhay
20-Oct-2003, 09:29 AM
Can you send me the script so I can see what it is doing

elfynfire
20-Oct-2003, 09:59 AM
Gary,

The following is the URL for the script :-

javascriptkit.com/script/cut173.shtml

Just to give a bit more detail, what I have is a section that contains numerous Car Seats for babies and each one has a range of different designs. I would like to associate this script to each Car Seat i.e. it will appear numerous times on the same page.

Thanks once again for your help.

Best Regards

Elfyn

NormanRouxel
20-Oct-2003, 02:44 PM
Just to digress. If you use Radio Buttons for your choices you can put the images directly into in the HTML for Name field. I.e.

<img src="myimage1.jpg">Choice Name

Youu may need to upload these images via Advanced / Additional Files as I'm not sure if Actinic will auto-detect them.

Norman