New to matrix - and new to javascripting! I want to have the thumbs down the bottom, then you click on them and it changes the large image in the large box on the page.
The problem I am having is that I dont know how to make all the images correspond, and unless i add limit=“1” it seems to break the gallery and run off down the page repeating over and over, but I want more than one thumbnail appearing in the thumbnail area!
This is the gallery I want to use:
<div class="gallery_sec">
<div id="slider2" class="gallery_cont">
<div class="contentdiv">
<a href="http://images/big1.gif%22rel=%22example_group" rel="example_group" title="section1">images/big1.gif</a>
</div>
<div class="contentdiv">
<a href="http://images/big2.gif%22rel=%22example_group" rel="example_group" title="section2">images/big2.gif</a>
</div>
<div class="contentdiv">
<a href="http://images/big3.gif%22rel=%22example_group" rel="example_group" title="section3">images/big3.gif</a>
</div>
<div class="contentdiv">
<a href="http://images/big1.gif%22rel=%22example_group" rel="example_group" title="section4">images/big1.gif</a>
</div>
</div>
<div class="scrollingunit">
<a href="#" class="prevgallery"> </a>
<div class="anyClass" id="paginate-slider2">
<ul>
<li><a href="#" class="toc">images/thumb1.gif</a></li>
<li><a href="#" class="toc">images/thumb2.gif</a></li>
<li><a href="#" class="toc">images/thumb3.gif</a></li>
<li><a href="#" class="toc">images/thumb1.gif</a></li>
<li><a href="#" class="toc">images/thumb2.gif</a></li>
</div>
<a href="#" class="nextgallery"> </a>
</div>
[removed][removed]
</div>This is what I have tried:
{exp:channel:entries channel="products"}
{product_variation_gallery}
<div class="gallery_sec">
<div id="slider2" class="gallery_cont">
<div class="contentdiv">
<a href="http://images/big1.gif%22rel=%22example_group" rel="example_group" title="section1">{color_variation}</a>
</div>
</div>
{/product_variation_gallery}
{/exp:channel:entries}
{exp:channel:entries channel="products"}
{product_variation_gallery limit="1"}
<div class="scrollingunit">
<a href="#" class="prevgallery"> </a>
<div class="anyClass" id="paginate-slider2">
<ul>
<li><a href="#" class="toc">{color_variation_thumb}</a></li>
</ul>
</div>
<a href="#" class="nextgallery"> </a>
</div>
[removed][removed]
{/product_variation_gallery}
{/exp:channel:entries}If anyone can help me out that would be great.
Thanks