Jump to content
GreenSock

Alexyn0o

Did anyone setup ScrollTrigger for this custom scrolling script?

Moderator Tag

Recommended Posts

http://www.everyday3d.com/blog/index.php/2014/08/18/smooth-scrolling-with-virtualscroll/

 

--

 

https://greensock.com/docs/v3/Plugins/ScrollTrigger

 

Cannot figure out how to setup scroller proxy for this... yikes!

If anyone could help - I'd really appreciate it,

Thank you guys

See the Pen NWgWRxj by designismore (@designismore) on CodePen

Link to comment
Share on other sites

We really can't offer support for something we didn't make. As it is, the code for that VirtualScroll doesn't expose members to work with the scollerProxy, an on update listener, and a getter/setter for the scroll position.

 

Any reason you can't use the one we provided?

 

See the Pen gOgWELo by GreenSock (@GreenSock) on CodePen

 

 

  • Like 2
  • Thanks 1
Link to comment
Share on other sites

Thanks for the fast reply @OSUblake ... I understand. Will have a second look into what you shared, because I think I tried it once but can't remember exactly why I didn't end up using it. Best guess would be that it was lagging...

 

 

 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×