Menu icon Foundation
Orbit timer speed issue

Hi I seem to be having an issue with orbit and the timer for the slide animation.

I have gone on to my foundation-min.js file and changed some of the features which carry through to my php file but the timer aspect still seems to just go really fast regardless of what speed I set it too. I have attached the code that i have adjusted in the foundation-min.js file.

Any one help?

Foundation.libs=Foundation.libs||{},

Foundation.libs.orbit={
name:"orbit",

version:"5.2.2",

settings:{

animation:"slide",

timer_speed:1800,
pause_on_hover: true,
resume_on_mouseout: true,
next_on_click: false,
animation_speed:800,
stack_on_small: false,
navigation_arrows: true,
slide_number: false,
slide_number_text:"of",
container_class:"orbit-container",
stack_on_small_class:"orbit-stack-on-small",
next_class:"orbit-next",
prev_class:"orbit-prev",
timer_container_class:"orbit-timer",
timer_paused_class:"paused",
timer_progress_class:"orbit-progress",
timer_show_progress_bar:!0,
slides_container_class:"orbit-slides-container",
preloader_class:"preloader",
slide_selector:"*",
bullets_container_class:"orbit-bullets",
bullets_active_class:"active",
slide_number_class:"orbit-slide-number",
caption_class:"orbit-caption",
active_slide_class:"active",
orbit_transition_class:"orbit-transitioning",
      bullets: true,
      circular: true,
      timer:true,
      variable_height: false,
      swipe: true,
before_slide_change:i,after_slide_change:i},



init:function(e,t,n){var r=this;this.bindings(t,n)},

events:function(e){var t=new s(this.S(e),this.S(e).data("orbit-init"));this.S(e).data(self.name+"-instance",t)},

reflow:function(){
var e=this;

if(e.S(e.scope).is("[data-orbit]")){
var t=e.S(e.scope),n=t.data(e.name+"-instance");n.compute_dimensions()}else e.S("[data-orbit]",e.scope).each(function(t,n){var r=e.S(n),i=e.data_options(r),s=r.data(e.name+"-instance");s.compute_dimensions()})}}}(jQuery,this,this.document),


            

         

OrbittimerSpeedFoundationslider

Hi I seem to be having an issue with orbit and the timer for the slide animation.

I have gone on to my foundation-min.js file and changed some of the features which carry through to my php file but the timer aspect still seems to just go really fast regardless of what speed I set it too. I have attached the code that i have adjusted in the foundation-min.js file.

Any one help?

Foundation.libs=Foundation.libs||{},

Foundation.libs.orbit={
name:"orbit",

version:"5.2.2",

settings:{

animation:"slide",

timer_speed:1800,
pause_on_hover: true,
resume_on_mouseout: true,
next_on_click: false,
animation_speed:800,
stack_on_small: false,
navigation_arrows: true,
slide_number: false,
slide_number_text:"of",
container_class:"orbit-container",
stack_on_small_class:"orbit-stack-on-small",
next_class:"orbit-next",
prev_class:"orbit-prev",
timer_container_class:"orbit-timer",
timer_paused_class:"paused",
timer_progress_class:"orbit-progress",
timer_show_progress_bar:!0,
slides_container_class:"orbit-slides-container",
preloader_class:"preloader",
slide_selector:"*",
bullets_container_class:"orbit-bullets",
bullets_active_class:"active",
slide_number_class:"orbit-slide-number",
caption_class:"orbit-caption",
active_slide_class:"active",
orbit_transition_class:"orbit-transitioning",
      bullets: true,
      circular: true,
      timer:true,
      variable_height: false,
      swipe: true,
before_slide_change:i,after_slide_change:i},



init:function(e,t,n){var r=this;this.bindings(t,n)},

events:function(e){var t=new s(this.S(e),this.S(e).data("orbit-init"));this.S(e).data(self.name+"-instance",t)},

reflow:function(){
var e=this;

if(e.S(e.scope).is("[data-orbit]")){
var t=e.S(e.scope),n=t.data(e.name+"-instance");n.compute_dimensions()}else e.S("[data-orbit]",e.scope).each(function(t,n){var r=e.S(n),i=e.data_options(r),s=r.data(e.name+"-instance");s.compute_dimensions()})}}}(jQuery,this,this.document),


            

         
Adam Ransome about 5 years ago

You're definitely loading the correct file? (the minified version)? Try changing the settings where you're placing orbit in the html (using the 'data-options' attribute).

Chris about 5 years ago

Hi Adam

Yes its the correct file as it seems to let me do some of the other changes but not the timer.

Adam Ransome about 5 years ago

What's your frontend code for Orbit? Try setting the timer_speed there.