I recently tried to set up a new design for the portraits on my website. I wanted to achieve some sort of slider, that slides during mouse scroll. It shouldn´t be a continous sliding, I thought of a snappy/sticky scroll that scrolls to the next image. It should look like this:
In the video he mentioned a website (https://webflow.com/website/horizontal-scroll-full) where the guy used a javascript plugin to achieve a snappy slide. But unfortunately I am not aware of how to use this.
I have already seen this one, but it doesn´t help me unfortunately.
I want to achieve a “snapping” from one image to the next one while scrolling the mouse wheel.
I tried to implement a slider, with a slider width that fits multiple images on one page. But although every image is in it´s own slide, it won´t work like I want it to. You can check the read-only link, the page can be found in folder “portraits”.
Hi @tim thanks, I am taking a look. Just from looking at the example site you gave, it seems possible to me to do a slider like that, even though you will have to use interactions and animate sections, you would not use the built in slider.
After I have a chance to check it out, I will post back with some feedback. Horizontal sliders are always fun to put together though, hang in there
Hi @lighthunters, thanks, well the horizontal scroll design is not an issue, but the “snapping” part is not yet built in (at the moment). Probably the custom code plugin you referred to might be the easiest at the moment to achieve that.
That site by the way was not a site made by Webflow, rathere a customer site, were you able to find the instructions for the horizontalscroll.js plugin?
I have alread seen this one, but I am not sure how to implement it? Checking your example webflow page, I only find little coding, and nothing in the pages custom head/body tag?
Thanks for additional advices!
Hi. In your reference this is OwlCarousel2.
If you want to implement this on webflow by custom code this is the example (Click on the slider than scroll)
“How to” - search on webflow forum slick example (The same idea is for owl). The downside - the slider work only on the publish site (Like any other custom code).
The diff sizes of each img is with: autoWidth: true, Example