-
Notifications
You must be signed in to change notification settings - Fork 379
Closed
Description
Hi,
I'd like to disable the anythingslider navigation controls until the user does some event (that I'll control with javascript). I can't seem to find a way that disables the switching of slides. I don't want to completely disable the whole slider as in this: #85
But I don't want the user to be able to change pages. Well at least until they finish certain tasks. So I would need a way to toggle on and off the controls.
I've got this going, but haven't had any success:
onInitialized: function(e, slider) {
if(slider.currentPage==1){
//disable controls until user clicks checkbox
//slider.slideControls();
//.slider.enableNavigation(false);
}
Any ideas? Thanks!