Home › Forums › JavaScript › How can I hide the .anythingControls in my slider? › Re: How can I hide the .anythingControls in my slider?
January 27, 2012 at 11:03 am
#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; }