if (Modernizr.touch) {
skrollr.init().destroy();
} else {
var s=skrollr.init({
forceHeight:false,
smoothScrolling:false,
});
}
In this snippet, I have implemented a jQuery code that checks for Modernizr touch functionality and disables the skrollr.js library. Now, my goal is to enable a different jQuery and CSS animation effects when the touch event is triggered. Essentially, using skrollr.js for desktop devices and another set of animations for touch-enabled devices. Can anyone provide guidance on how to achieve this?