How to disable javascript for responsive design
问题 I have been using supersized jQuery for the slideshow background of my website. I am making the website responsive and using css media queries. I would like to be able to disable the script when it is below 480px. Here is the script for the actual slider background $(document).ready(function(){ jQuery(function($){ $.supersized({ // Functionality slideshow : 1, // Slideshow on/off autoplay : 0, // Slideshow starts playing automatically start_slide : 1, // Start slide (0 is random) stop_loop :