different classes in a repeat region
Hey Ray
Just wondering how I would set the 1st record in the below repeat to add a class
class="responsive-picture mainGalleryImage"
to the image a href but then all the subsequent records to show
class="responsive-picture thumbnailGalleryIMage"
<div class="galleryContainer">
<?php
while(!$Slideshow->atEnd()) {
?>
<a href="#">
<picture><img alt="" src="img/picture-12.svg"></picture>
</a>
<?php
$Slideshow->moveNext();
}
$Slideshow->moveFirst(); //return RS to first record
?>
</div>
Thanks
Jamie