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

Place navigation controls at the bottom #314

Closed
frankackermann opened this issue Oct 24, 2018 · 6 comments
Closed

Place navigation controls at the bottom #314

frankackermann opened this issue Oct 24, 2018 · 6 comments

Comments

@frankackermann
Copy link

Issue description: I have seen that it has been decided to put all control and navigation elements on top of the slider, due to accessibility (#4). This is totally fine, but in my case it is needed to have the navigation underneath. Since I could not find any option to place navigation controls at the bottom, I highly recommend to add an option for the position. This would make the slider more flexible without using the workaround with navContainer where one need to know how many elements are in the slider during markup generation. Also styling this additonal container causes more CSS code.

Demo link/slider setting:

slider = tns({
	container: '.container-class',
	controls: false,
	items: 1,
	nav: true,
	navPos: 'bottom' // not supported yet
});

Tiny-slider version: 2.8.7

@ganlanyuan
Copy link
Owner

added options: navPosition, controlsPosition and autoplayPosition in this commit.
I will update the document later

@ganlanyuan
Copy link
Owner

Document updated

@ciampam9
Copy link

@ganlanyuan 👋 when could we expect a release with this functionality?

@ganlanyuan
Copy link
Owner

released 2.8.8

@frankackermann
Copy link
Author

Very useful. Thanks a lot!

@LoickMEYER
Copy link

Hi, very nice, is it possible to add the "both" value to have the navs dots twice (above and under) it could be very useful for slides with huge height. Thanks !

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

4 participants