Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS Framework Basics What's New in Foundation 5 Updating JavaScript

Orbit Slider Deprecated

Hi , I just found out that Orbit Slider Deprecated with new Zurb foundation update. Is that something I could use in foundation 5 instead of Orbit Slider ? Please kindly let me know. Thanks.

2 Answers

Oh wow - this is news. Looks as if Orbit slider will still work, but in the future Zurb suggests using Slick Carousel or Owl Carousel. More info here.

Even though it is removed in the recent updates you can still use it.

Use this code, it still works:

<!-- First Band (Slider) -->

  <div class="row">
    <div class="large-12 columns">
    <ul data-orbit>
      <li><img src="http://placehold.it/1000x400&text=[ img 1 ]" /></li>
      <li><img src="http://placehold.it/1000x400&text=[ img 2 ]" /></li>
      <li><img src="http://placehold.it/1000x400&text=[ img 3 ]" /></li>
      <li><img src="http://placehold.it/1000x400&text=[ img 4 ]" /></li>
    </ul>       
    <hr />
    </div>
  </div>

Source: http://ieatcss.com/zurb-foundation-framework-tutorials/step-by-step-examples/tourist-spot/tourist-spots-step1.html