JPollock
JPollock

Reputation: 3558

How to disable Orbit timer in Foundation 4?

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?

Upvotes: 1

Views: 1865

Answers (1)

von v.
von v.

Reputation: 17108

$(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.

Upvotes: 8

Related Questions