Hi,
I'm building a site for a client and the products are set up with one large product image and then under this the smaller product icons. These small product icons have a onClick function that when pressed changes the larger image.
Now what my client is after is a way of clicking on the larger image or a small + sign to open a bigger popup image.
But since the larger and small product images are all done with CUSTOMVARS I'm finding it hard to find a way to attach a popup function that somehow knows which picture is currently selected. I somehow need to link the small icon change with the + sign so the correct picture opens up.
Has anyone done anything like this before?
Need help.
Cheers
I'm building a site for a client and the products are set up with one large product image and then under this the smaller product icons. These small product icons have a onClick function that when pressed changes the larger image.
Now what my client is after is a way of clicking on the larger image or a small + sign to open a bigger popup image.
But since the larger and small product images are all done with CUSTOMVARS I'm finding it hard to find a way to attach a popup function that somehow knows which picture is currently selected. I somehow need to link the small icon change with the + sign so the correct picture opens up.
Has anyone done anything like this before?
Need help.
Cheers
Comment