Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other Anything Slider: Issues When Dynamically Modifying Options Re: Anything Slider: Issues When Dynamically Modifying Options

#132214
Mottie
Member

Hi @wis!

Well, the `updateSlider()` function really only adds/removes slider panels and updates the navigation. I wasn’t expecting anyone to want to change all of the options, although I’m sure there are a few options that are checked dynamically so changing them using your method would work, but I never made a list.

There are a few work arounds/hacks I could make for you without changing the addon, but that’s probably not ideal for you.

As for the transitions, they are done by the FX extension. And all FX data is stored within `$(‘#slider’).data(‘AnythingSlider’).fx` which is dynamic to allow the [FX Builder](http://css-tricks.github.io/AnythingSlider-Fx-Builder/) to work. As a quick example, update the fx as follows:

$(‘#slider’).data(‘AnythingSlider’).fx = {
“.text” : [ “top”, “500px”, “”, “easeOutBounce” ]
}

So, I guess I could start working on making more options work when you use `updateSlider()` but my time is very limited right now and I’m not sure how long it would take me to complete these changes.