title: Targeting with Javascript
body: <p>I am developing a website using the popular <a href="http://alvarotrigo.com/fullPage" rel="nofollow">fullPage.js</a> framework . </p>
  
  <p>See my basic site: <a href="http://212.111.40.154/fullpage" rel="nofollow">http://212.111.40.154/fullpage</a></p>
  
  <p><strong>Problem</strong></p>
  
  <p>The slider by default does not automatically scroll through slides, however the following working code does enable automatic scrolling on the slides BUT it applies scrolling to all sliders on the page.</p>
  
  <p>There are two slides in the demo link above, so I need the top slider to scroll automatically but the second slider to not scroll automatically.</p>
  
  <p><strong>Code</strong></p>
  
  <p>How can this code be modified to only apply to one instance of slider.</p>
  
  <pre><code>// Automatic Slider
  setInterval(function () {
      $.fn.fullpage.moveSlideRight();
  }, 3000);
  </code></pre>
  
  <p>I'm sure others can benefit from your response, I will get <code>fullpage</code> author to add your answer to his FAQ.</p>