Foundation 6 Orbit: Change Slide programatically
问题 On Foundation 6. I have an orbit slider that, besides the default behaviour, it also needs to be able to change the slide when an outside button is clicked. Is there a way to make this work? I've tried this code: jQuery('#theslider').foundation('changeSlide', true, slide_id); //slide_id is the jQuery object's slide ex: jQuery(#slideid); It kind of works, but it works erratically. It sometimes works fine for a while, but a some point then the slide goes fast and disappears from the screen, or