سؤال

I am using Orbit in Foundation 4 and would like to totally disable the timer function so slides can only be advanced manually by the user. Is this possible?

هل كانت مفيدة؟

المحلول

$(document).foundation('orbit', {
    timer_speed: 0
});
$(document).foundation();

Two calls are needed to initialize the other components of Foundation. Any customization should be done before Foundation itself is initialized.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top