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

#132184
Mottie
Member

Hi @wis!

Yeah the building and enabling of the arrows is one of the functions that is only done during the initialization. I didn’t include it in the update because it would then have to remove the arrows if they were already there – which isn’t really difficult, but I guess I didn’t think about while writing the code.

The easiest solution would be to just hide the arrows completely ([demo](http://jsfiddle.net/Mottie/yDR53/1/)):

function wisSW_ShowSliderChanges()
{
var wantNavigationArrows = (jQuery(“#wisSW_WantNavigationArrows :radio:checked”).val() == “Yes”);

var sliderData = jQuery(“#wisSW_SampleSlider”).data(“AnythingSlider”);

sliderData.$forward.add( sliderData.$back ).toggle( wantNavigationArrows );
}

If that doesn’t work for you, I can work on moving the build/enable arrows scripts into the updating code.