Tagged: full screen slider
Hi,
I have a 2 slide Full Screen slider that is on auto rotate. I’d like it to auto rotate from slide 1 to 2, and the stop rotating on slide 2 as this is where my sites Call to Action is.
Is it possible to keep the autorotation but stop it when slide 2 is reached?
Thanks,
Stu
Hi Stuart!
Try this: open js/shortcodes.js and look for line 3816:
if( this.isAnimating || this.itemsCount < 2 )
{
return false;
}
Replace it with:
if( this.isAnimating || this.itemsCount < 2 )
{
return false;
}
if( dir === 'next' && this.current >= this.itemsCount - 1 )
{
this._stopSlideshow();
return false;
}
Regards,
Josue