title: Foundation 4 Orbit Initialization Error
body: <p>I'm a bit new to Foundation 4 and the Orbit plugin, but I can't figure out why the orbit plugin will not initialize. I've got the compass version of foundation 4 installed.</p>
  
  <p>The zepto.js and jquery.js are in javascripts/vendor/, and the foundation.orbit.js file is in javascripts/foundation/</p>
  
  <p>Modernizr</p>
  
  <pre><code>&lt;script src="javascripts/vendor/custom.modernizr.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>Orbit Plugin:</p>
  
  <pre><code>&lt;!-- Orbit Slides and Object --&gt;
  
  &lt;div class="slideshow-wrapper"&gt;
      &lt;span class="preloader"&gt;&lt;/span&gt;
  &lt;ul data-orbit&gt;
    &lt;li&gt;
      &lt;img src="placehold.it/1000x400" /&gt;
      &lt;div class="orbit-caption"&gt;...&lt;/div&gt;
    &lt;/li&gt;
    &lt;li&gt;
      &lt;img src="placehold.it//1000x400" /&gt;
      &lt;div class="orbit-caption"&gt;...&lt;/div&gt;
    &lt;/li&gt;
    &lt;li&gt;
      &lt;img src="placehold.it/1000x400" /&gt;
      &lt;div class="orbit-caption"&gt;...&lt;/div&gt;
    &lt;/li&gt;
  &lt;/ul&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>The page can be found here:
  <a href="http://foundationtest.tx0rx0.com/tx0rx0/testpage.html" rel="nofollow">http://foundationtest.tx0rx0.com/tx0rx0/testpage.html</a></p>
  
  <p>I've got modernizr in the head, and here's what the section looks like right before the last last body tag:</p>
  
  <pre><code>&lt;!-- Javascript for Orbit Image Slider --&gt;     
      &lt;script&gt;
              document.write('&lt;script src=/javascripts/vendor/'
                  + ('__proto__ ' in {} ? 'zepto' : 'jquery')
                  + '.js&gt;&lt;\/script&gt;')
      &lt;/script&gt;
  
  &lt;script src= "/javascripts/foundation/foundation.js"&gt;&lt;/script&gt;
  &lt;script src= "/javascripts/foundation/foundation.alerts.js"&gt;&lt;/script&gt;
  &lt;script src= "/javascripts/foundation/foundation.orbit.js"&gt;&lt;/script&gt;
  
  &lt;!-- Initialize Foundation --&gt;
  
  &lt;script&gt;
      $(document).foundation();
  &lt;/script&gt;
  </code></pre>
  
  <p>I'm sure it's something simple, but I don't see it and a helpful nudge would be appreciated. 
  Thank you.</p>