Captions don't appear until 9th slide
Posted: Sat Apr 28, 2018 1:11 am
Weird. I'm using thumb alts as captions. If I zoom into an image I don't see the caption. But if I arrow through 8 images then the captions start appearing and will appear for the previous 8 images now if I left arrow. If I close and reopen the images I will get captions all the time until I refresh the page, at which point they go missing again until the 9th image is viewed. What is going on here? See at http://365gtc4.com
Code: Select all
hs.align = 'center';
hs.transitions = ['expand', 'crossfade'];
hs.wrapperClassName = 'rounded-white';
hs.fadeInOut = true;
hs.dimmingOpacity = 0.75;
hs.captionEval = 'this.thumb.alt';
// Add the controlbar
if (hs.addSlideshow) hs.addSlideshow({
interval: 5000,
repeat: false,
useControls: true,
fixedControls: false,
overlayOptions: {
opacity: 0.8,
position: 'top right',
hideOnMouseOut: true
}
});
<a href="../Images/365gtc4_15859.jpg" class="highslide" onclick="return hs.expand(this)">
<img src="../Images/365gtc4_15859_small.jpg" title="365 GTC/4 s/n 15859" alt="With a short run of only 500 units and a shorter wheelbase than the 2+2s before and after, the 365 GTC/4 was more modern and angular without being boxy. 365 GTC/4 s/n 15859 pictured.">
</a>