Jump to content
Search Community

nikenko

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by nikenko

  1. Sure, i made two. Here is first with loco scroll and exact layout of start of my website and scrollto is disabled: https://codepen.io/najkenko/pen/eYzYemY here is the same one but with that scroll to code enabled and it immediately breaks website: https://codepen.io/najkenko/pen/WNxNZoM
  2. Yes, that excatly the case, i want to achieve snapping on only the first two sections and after that smooth scrolling. And yes, i know that locomotive has scrollto method, but i can only make it work as click function. Dont know how to bind it on mouse scroll when section is in viewport, thats why i was trying to use gsap plugin, since i already use scrolltrigger with locomotive. I was working with this demo i found here on forums: https://codepen.io/Narendra_verma/pen/MWyQeOd But failed when i tried to make it use locomotives scrollTo instead of scrolltoplugin like it is using
  3. Thanks a lot, i tried everything mentioned there, but it all uses gsap scrollToPlugin and i cant make it work with locomotive scroll. scrollTrigger is working fine since i used scrollTriggerProxy for communication between locomotive scroll and scrollTrigger. Is there some proxy for scrollToPlugin or some way that scrollToPlugin will work with locomotive scroll as perfectly as scrollTrigger plugin does ? Thanks
  4. Hi, i’m trying to achieve this behaviour and im googling without any luck for the past few days. Seems easy in theory so im just wondering if it is possible with gsap / scrolltrigger. -while .div1 is in viewport first mouse scrolldown will scroll to the next anchor point (.div2) basically my first two sections on website im working on are full height and width, i have button there that scrolls to the next section and im trying to bind this scroll tu function to mouse wheel as well so you cant stop scrollimg between tho sections and first scroll takes you straight to the nech anchor point. After that scroll behaves nornally again. im using gsap3 scrolltrigger integrated via proxy with locomotive scroll. does anyone know if this is possible? thnaks a lot for any help:)
×
×
  • Create New...