Forums

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

Home Forums JavaScript How can I hide the .anythingControls in my slider? Re: How can I hide the .anythingControls in my slider?

#95538
Mottie
Member

Hmm, that setup really should be hiding the controls. You should remove the second function because it shouldn’t be necessary and anyway it is being completely ignored

jQuery('#partner-slider').anythingSlider({
onInitialized: function(e, slider) {
.find(".anythingControls").hide(); // include options here
}
});

because of the way the plugin is written. Also there is an error in the code because “.find()” needs a selector in front.

Worse case senario, you can just add this css:

.anythingControls { display: none; }