VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: sylwekb on January 28, 2013, 16:35:33 PM

Title: Scrollable images in Virtuemart product details
Post by: sylwekb on January 28, 2013, 16:35:33 PM
Hello
I searched the forum and I can not find how to do this effect to show photos of the product showed a single shot, and sliding underneath the thumbnail images with different colors of magnifications when clicked. At this time, photos are displayed one above the other, and if there are about 20 for the product in different colors is very scrolls page down.
Is changing images can be linked to the choice of attributes from the drop-down list of types and colors?

Screenshot attached

Virtuemart  v. 2.0.18a

[attachment cleanup by admin]
Title: Re: Scrollable images in Virtuemart product details
Post by: Joseph Kwan on February 01, 2013, 06:47:28 AM
Your description is not very clear. Look like you want to change the color of the thumbnail when the shopper choose a different attribute. If that is what you require, you need to have a javascript that is executed according to what attribute the shopper chooses.

If you need a scrollable container to show all the 20 images, one way to do that is use a container <div> and set its length and width. Then use the css overflow:auto.