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

Data-position right and Reponsive #28

Closed
TefDesign opened this issue Apr 29, 2014 · 1 comment
Closed

Data-position right and Reponsive #28

TefDesign opened this issue Apr 29, 2014 · 1 comment

Comments

@TefDesign
Copy link

Hi,
I've a question : is it possible to have an object directly in position right with a responsive slider ?
With a responsive slider, it's impossible to know a max width.
data-position is "left,top" but is it possible to have "right,top" ?

thanks !
P.S : Sorry for my english :P

@jacksbox
Copy link
Owner

no, sadly such a functionality isn't implemented, but you can use another way:

when you implement the slider, you have to set the dimensions of the slider in the plugin options. when you activate the responsive option, all width/height and position values gets recalculated from px to %. So if you set up the slider with a basic dimensions of e.g. 1000px x 400px and position an element (width 100, height 100) at "0, 900" the element should be in the top right corner. When you now activate the responsive option, all this values get recalculated to % and the element should stay in this corner no matter what with the slider have.

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

No branches or pull requests

2 participants