-
Notifications
You must be signed in to change notification settings - Fork 103
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
Combine horizontal and vertical scrolling? #288
Comments
Variable slide height is a limitation of the plugin unfortunately. Workarounds are possible but not ideal. You could always use an element within your slides with overflow scroll in the CSS. Another way would be to use JS to check the height of the content within the current slide and then resize the slider to match. |
even if i set the .slide height to a higher value, i only can navigate left and right. is there a special property i have to set? thanks! |
It's sort of a hack so you will have to have a decent understanding of how CSS overflow and height work. The vertical navigation will leverage the browser scrolling while horizontal will utilize the plugin. I recommend putting an element within your slide element and applying the height and overflow: scroll to that element. That way your vertical scrolling will be isolated for each slide. |
I think here will be ask for combine vertical and horizontal scrolling for different width of screen. For example on wide monitors it looking better horizontally, but on phones it will be vertical. can be other rezones, but we put in options some variable that make "point of width" like a gate between them. or better function to rebuild it to vertical and user will do it by himself (maybe it will be necessary be horizontal from 1920 to 1280, vertical 1280-1024, horizontal 1024 to 640, vertical 640 to 0). |
i have a horizontal slider where some slides are higher then the container-height. is there a way i can make the higher slide vertically scrollable? what's the best way here?
thanks!
The text was updated successfully, but these errors were encountered: