Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom toggleControls #560

Closed
plaidfox opened this issue Jun 14, 2013 · 1 comment
Closed

Custom toggleControls #560

plaidfox opened this issue Jun 14, 2013 · 1 comment

Comments

@plaidfox
Copy link

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.

@Mottie Mottie closed this as completed in 6ea2c36 Oct 4, 2013
Mottie added a commit that referenced this issue Oct 4, 2013
@Mottie
Copy link
Contributor

Mottie commented Oct 4, 2013

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants