Form Select Option to Display Images

Hi all,

Here is a link to a site that uses a ‘calculator’ for it’s products. If a user selects a product (not the 1st one) an image is displayed below.

I’m just wondering if anyone knows how they are displaying the images, I’d like to create something similar.

Thanks,
Al.

Haven’t go the time to have a proper look to this but it looks like they use JS for this part.

I assume that they have an array with the values of the list and the images associated to each value.

The ‘src’ attribute of the image is being dynamically changed depending on the option chosen in the select tag.

I couldn’t immediately see which script was doing this but I’m sure someone in the JS forum could help out better.:slight_smile:

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.