Commit e1ed639e authored by Nameer AS's avatar Nameer AS

orbit slider initialization through js

parent f560a109
......@@ -131,4 +131,10 @@ $(document).ready(function() {
}
}
});
var orbit = new Foundation.Orbit($('.orbit'), {
animation: 'slide-in-right',
timerDelay: 15000,
bullets: false,
pauseOnHover: true
});
});
\ No newline at end of file
<section class="carousel" id="home">
<div class="grid-container fluid">
<div class="orbit" role="region" aria-label="Favorite Space Pictures" data-orbit>
<div class="orbit" role="region" aria-label="Favorite Space Pictures">
<div class="orbit-wrapper">
<div class="orbit-controls">
<button class="orbit-previous"><i class="icon-Banner-arrow"></i></button>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment