I'm getting ready to build a module.

This is what it's going to do:
When you click on a swatch, for example: a black swatch, a preview comes up of a black t-shirt.

Example:
You have image attributes added to your product, You want to sell t-shirts in different colors, and You dont want to have T-Shirt thumbnails but you want swatches...

Picture This:
A black swatch. When you hover over a picture of a black t-shirt comes up.

Any ideas on how to build this module?

I know the basics of coding, I used to code Joomla! modules.


Preview:




Reply to thread if you have any suggestions..