title: Disable jQuery for mobile devices
body: <p>I would like to disable part of my jQuery script for mobile devices, heres the code I'd like to disable:</p>
  
  <pre><code>$('#inner-slide1').click(function(e) {
      e.preventDefault();
      dataslide = $(this).attr('data-slide');
      goToByScroll(dataslide);
  });
  
  $('#inner-slide2').click(function(e) {
      e.preventDefault();
      dataslide = $(this).attr('data-slide');
      goToByScroll(dataslide);
  });
  
  $('#inner-slide3').click(function(e) {
      e.preventDefault();
      dataslide = $(this).attr('data-slide');
      goToByScroll(dataslide);
  });
  
  $('#inner-slide4').click(function(e) {
      e.preventDefault();
      dataslide = $(this).attr('data-slide');
      goToByScroll(dataslide);
  });
  
  $('#inner-slide5').click(function(e) {
      e.preventDefault();
      dataslide = $(this).attr('data-slide');
      goToByScroll(dataslide);
  });
  </code></pre>
  
  <p>Grateful for any suggestions.</p>