title: Sticky navigation with jquery
body: <p>I'm using gumby framework.
  I'm using a menu like this:</p>
  
  <pre><code> &lt;section class="page" id="portfolio" data-slide="portfolio" data-stellar-background-ratio="0.5"&gt;
  
    &lt;header id="navigazione"&gt;
      &lt;div class="navbar" id="nav1"&gt;
        &lt;div class="row"&gt;
          &lt;a class="toggle" gumby-trigger="#nav1 &gt; .row &gt; ul" href="#"&gt;&lt;i class="icon-menu"&gt;&lt;/i&gt;&lt;/a&gt;
          &lt;h1 class="four columns logo"&gt;
            &lt;a data-slide="home" href="#"&gt;
              &lt;img src="img/gumby_mainlogo.png" gumby-retina /&gt;
            &lt;/a&gt;
          &lt;/h1&gt;
          &lt;ul class="eight columns"&gt;
            &lt;li data-slide="portfolio"&gt;&lt;a href="#"&gt;Portfolio&lt;/a&gt;&lt;/li&gt;
            &lt;li data-slide="about"&gt;&lt;a href="#"&gt;Chi sono&lt;/a&gt;&lt;/li&gt;
            &lt;li data-slide="contact"&gt;&lt;a href="#"&gt;Contatti&lt;/a&gt;&lt;/li&gt;
          &lt;/ul&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/header&gt;
  
  &lt;/section&gt;
  </code></pre>
  
  <p>This is a single page website. with stellar.js I can scroll with parallax effect the entire site dividen in .</p>
  
  <p>now I want that this navbar is sticky when I scroll (the navbar is in the second section of the site there is an home section then portfolio and so on...)</p>
  
  <p>so i try to use jquery waypoint and use the syntax</p>
  
  <pre><code>$(.navbar).waypoint('stycky');
  </code></pre>
  
  <p>but nothing happend...
  the plugin works because if I do:</p>
  
  <pre><code>    $(.navbar).waypoint(function() {
  alert('pippo');
  });
  </code></pre>
  
  <p>it works!
  I dont know what to do. I also try other plugin like smint but nothing happend...!
  the other strange thing is that if I do</p>
  
  <pre><code>$(.navbar).fadeOut();
  
  $(.navbar).waypoint(function() {
     $(.navbar).fadeIn('slow');
  });
  </code></pre>
  
  <p>the script works but not the animation...</p>
  
  <p>I hope someone will help me to understand this...because I'm getting mad...
  thanks a lot in advace</p>