title: Go to a specific slide with iDangerous Swiper
body: <p>If I have a custom menu.</p>
  
  <p>How can I go to a specific slide at any moment in Swiper.js?</p>
  
  <pre><code>&lt;div class="menu"&gt;
      &lt;ul&gt;
      &lt;li class="slide-3"&gt;go to slide 3&lt;/li&gt;
      &lt;li class="slide-5"&gt;go to slide 5&lt;/li&gt;
      &lt;li class="slide-1"&gt;go to slide 1&lt;/li&gt;
      &lt;/ul&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I tried something like this but is not working:</p>
  
  <pre><code>$('.slide-3').click(function(e) {
      e.preventDefault();
      $(".menu .active").removeClass('active');
      $(this).addClass('active');
      swipeTo( $('.pag2').index() );
  });
  </code></pre>