Note that there are some explanatory texts on larger screens.

plurals
  1. POWhy isn't Foundation 4 Orbit working for me?
    primarykey
    data
    text
    <p>I'm not sure as to why my implementation is not working. I have followed the documentation on the foundation 4 site but can not figure out why it's not working. All that shows up are the cursor dots that change the position of the pictures in the Orbit. Also, I have the correct css/html/js folder paths. </p> <p>Here's what my mark up looks like:</p> <pre><code>&lt;!DOCTYPE html&gt; &lt;!--[if IE 8]&gt; &lt;html class="no-js lt-ie9" lang="en"&gt; &lt;![endif]--&gt; &lt;!--[if gt IE 8]&gt;&lt;!--&gt; &lt;html class="no-js" lang="en"&gt; &lt;!--&lt;![endif]--&gt; &lt;head&gt; &lt;meta charset="utf-8" /&gt; &lt;meta name="viewport" content="width=device-width" /&gt; &lt;title&gt; Foundation 4&lt;/title&gt; &lt;!-- If you are using CSS version, only link these 2 files, you may add app.css to use for your overrides if you like. --&gt; &lt;link rel="stylesheet" href="foundation-4/css/normalize.css" /&gt; &lt;link rel="stylesheet" href="foundation-4/css/foundation.css" /&gt; &lt;script src="foundation-4/js/vendor/custom.modernizr.js"&gt;&lt;/script&gt; &lt;/head&gt; &lt;body&gt; &lt;!-- body content here --&gt; &lt;nav class="top-bar"&gt; &lt;ul class="left"&gt; &lt;li class="name"&gt;&lt;font color="white"&gt;&lt;a href="vm.php"&gt;Va&lt;/a&gt;&lt;/font&gt;&lt;/li&gt; &lt;/ul&gt; &lt;ul class="right"&gt; &lt;li class="name"&gt;&lt;font color="white"&gt;Home&lt;/font&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/nav&gt; &lt;br&gt; &lt;!-- ======================== ORBIT===================== --&gt; &lt;div class="orbit-container"&gt; &lt;ul data-orbit="" class="orbit-slides-container"&gt; &lt;li&gt; &lt;img src="3.jpg"&gt; &lt;div class="orbit-caption"&gt;IMAGE 3&lt;/div&gt; &lt;/li&gt; &lt;li class="active"&gt; &lt;img src="1.jpg"&gt; &lt;div class="orbit-caption"&gt;IMAGE 1&lt;/div&gt; &lt;/li&gt; &lt;li&gt; &lt;img src="2.jpg"&gt; &lt;div class="orbit-caption"&gt;IMAGE 2&lt;/div&gt; &lt;/li&gt; &lt;li&gt; &lt;img src="3.jpg"&gt; &lt;div class="orbit-caption"&gt;IMAGE 3&lt;/div&gt; &lt;/li&gt; &lt;li&gt; &lt;img src="1.jpg"&gt; &lt;div class="orbit-caption"&gt;IMAGE 1&lt;/div&gt; &lt;/li&gt; &lt;/ul&gt; &lt;!-- Prev/Next Arrows --&gt; &lt;a href="#" class="orbit-prev"&gt;Prev&lt;span&gt;&lt;/span&gt;&lt;/a&gt; &lt;a href="#" class="orbit-next"&gt;Next&lt;span&gt;&lt;/span&gt;&lt;/a&gt; &lt;!-- Slide Numbers --&gt; &lt;div class="orbit-slide-number"&gt; &lt;span&gt;1&lt;/span&gt; of &lt;span&gt;3&lt;/span&gt; &lt;/div&gt; &lt;!-- Timer and Play/Pause Button --&gt; &lt;div class="orbit-timer"&gt; &lt;span&gt;&lt;/span&gt; &lt;div class="orbit-progress" style="width: 100%; -webkit-transition: width 10s linear;"&gt;&lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;!-- Orbit Bullet Slide Indicator --&gt; &lt;ol class="orbit-bullets"&gt; &lt;li data-orbit-slide-number="1"&gt;&lt;/li&gt; &lt;li data-orbit-slide-number="2" class="active"&gt;&lt;/li&gt; &lt;li data-orbit-slide-number="3"&gt;&lt;/li&gt; &lt;/ol&gt; &lt;!-- =======ORBIT END======= --&gt; &lt;script&gt; document.write('&lt;script src=foundation-4/js/vendor/' + ('__proto__' in {} ? 'zepto' : 'jquery') + '.js&gt;&lt;\/script&gt;'); &lt;/script&gt; &lt;script&gt; document.write('&lt;script src=' + ('__proto__' in {} ? 'foundation-4/js/vendor/zepto' : 'foundation-4/js/vendor/jquery') + '.js&gt;&lt;\/script&gt;') &lt;/script&gt; &lt;script src="js/foundation/foundation.js"&gt;&lt;/script&gt; &lt;script src="js/foundation/foundation.orbit.js"&gt;&lt;/script&gt; &lt;script src="js/foundation/foundation.alerts.js"&gt;&lt;/script&gt; &lt;script src="js/foundation/foundation.clearing.js"&gt;&lt;/script&gt; &lt;script src="js/foundation/foundation.cookie.js"&gt;&lt;/script&gt; &lt;script src="js/foundation/foundation.dropdown.js"&gt;&lt;/script&gt; &lt;script src="js/foundation/foundation.forms.js"&gt;&lt;/script&gt; &lt;script src="js/foundation/foundation.joyride.js"&gt;&lt;/script&gt; &lt;script src="js/foundation/foundation.magellan.js"&gt;&lt;/script&gt; &lt;script src="js/foundation/foundation.orbit.js"&gt;&lt;/script&gt; &lt;script src="js/foundation/foundation.placeholder.js"&gt;&lt;/script&gt; &lt;script src="js/foundation/foundation.reveal.js"&gt;&lt;/script&gt; &lt;script src="js/foundation/foundation.section.js"&gt;&lt;/script&gt; &lt;script src="js/foundation/foundation.tooltips.js"&gt;&lt;/script&gt; &lt;script src="js/foundation/foundation.topbar.js"&gt;&lt;/script&gt; &lt;script src="js/foundation/foundation.interchange.js"&gt;&lt;/script&gt; &lt;script&gt; $(document).foundation(); &lt;/script&gt; &lt;/body&gt; &lt;/html&gt; </code></pre> <p>Also, here is a screen shot of the errors I am getting in google chrome. </p> <p><a href="http://s1228.photobucket.com/user/Ebadly/media/random/ScreenShot2013-11-15at112428AM_zpsdfc35907.png.html" rel="nofollow">http://s1228.photobucket.com/user/Ebadly/media/random/ScreenShot2013-11-15at112428AM_zpsdfc35907.png.html</a></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload