I would like to change the slide behavior on mobile devices. So I added the class 'preserve' in this way:
var windowWidth = $( window ).width();
if(windowWidth <= 767){
$("#slides img").addClass("preserve");
}
$slides.superslides({
'play' : 7000,
});
Worked fine. But now the '#slide' element keep getting the total window height, instead the slides height. Is there a solution for this?
Thanks!
I would like to change the slide behavior on mobile devices. So I added the class 'preserve' in this way: