I am using the Anything Slider for Wordpress to create slideshows containing both images and video, such as http://www.storybox.co.nz/2011/lynx/
I would like to have the thumbnail icons which link to video slides to use a different icon. I want to do this to make it clear that some slides are videos not still images.
Does anyone have a tip for adding a class to the corresponding thumbnail icon for each slide containing an iframe?
Unfortunately, the slides and thumbnails do not use the same classes so my initial idea of selecting the iframe parent li then corresponding thumbnail that way won't work. But perhaps there is something in using the panel number?
Thanks in advance for any help!
Basic code (note that first and last slides are clones):
<div class="anythingSlider anythingSlider-default activeSlider">
<div class="anythingWindow">
<ul class="anythingSlider anythingBase" id="slider-342">
<li class="cloned panel vertical">
<div><span>
<iframe></iframe>
</span></div>
</li>
<li class="panel vertical">
<div><img></div>
</li>
<li class="panel vertical">
<div><img></div>
</li>
<li class="panel vertical">
<div><img></div>
</li>
<li class="panel vertical activePage">
<div>
<iframe></iframe>
</div>
</li>
<li class="cloned panel vertical">
<div><img></div>
</li>
</ul>
</div>
<div class="anythingControls">
<ul class="thumbNav">
<li class="tooltip first"><a href="#" class="panel1"><span>1</span></a></li>
<li class="tooltip"><a href="#" class="panel2"><span>2</span></a></li>
<li class="tooltip"><a href="#" class="panel3"><span>3</span></a></li>
<li class="tooltip last"><a href="#" class="panel4 cur"><span>4</span></a></li>
</ul>
</div>