Code Request

Alright got a simple request know the coders can do. When in desktop mode on my site I have a slideshow going spans the whole site, problem is when I go into the mobile side that slideshow is useless what I need is the ability to play slideshow frames 1-4 on desktop but on a mobile device 5-9. Can anyone do just that?

As far as I know, Slideshows are similar to a Wix App … i.e. you cannot alter the functionality in code … it’s like a black box to code.

I’m not gonna write the full code for ya, but one way to do it is have two separate slideshows and do something like
$w.onReady(function () {
if(wixWindow.formFactor === “Mobile”) {
$w(“#slideshowMobile”).show( );
$w(“#slideshowDesktop”).hide( );
}
else {
$w(“#slideshowMobile”).hide( );
$w(“#slideshowDesktop”).show( );
}
});

Well Thank you!