CSS-Tricks/AnythingSlider

Custom toggleControls

plaidfox opened this issue · 1 comments

The note for toggleControls says:

// if true, slide in controls (navigation + play/stop button) on hover and slide change, hide @ other times

How do I edit the code so that it only slides in the controls on hover, but not on slide change (especially during autoplay). I found a forum post about this, but it was from 2011 and the code is different from the current version of AnythingSlider. Any help would be greatly appreciated.

Hi @plaidfox!

Sorry for taking so long to do this, but I wanted to let you know that instead of setting the toggleControls option to true, set it to anything other than false. Something like "true" (in quotes) would work. Basically, I didn't want to add another option, so I "overloaded" the toggleControls option to do more than one thing.

Thanks for the suggestion and your patience!