Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...

Stoggy

ShockinglyGreen
  • Posts

    5
  • Joined

  • Last visited

About Stoggy

Stoggy's Achievements

  1. Hi, I've been trying to figure out a way to add an active class to my smooth scroll container while scrolling is being done. And having that class removed as soon as I stop scrolling. What I've come up with so far is to add the class with the onUpdate() callback and then remove it using onScrubComplete() Is there a smarter way to do this with gsap? I'm using the smooth scroll setup used in the attached example:
  2. Thanks @Prasanna I'm sure it will work since they gave me the same answer! Will have to try in my next project. This time i solved it by adding gsap as a zip.
  3. Well it seems to me that this is an authentication problem and not that the dependency is not found. I have not, but i'll check with them as well!
  4. Hi, I'm trying to deploy using DeployHQ but it fails during the npm install phase due to auth errors. npm ERR! code E403 npm ERR! 403 403 Forbidden - GET https://npm.greensock.com/@gsap%2fshockingly/-/shockingly-3.8.0.tgz - You must be logged in to install/publish packages. npm ERR! 403 In most cases, you or one of your dependencies are requesting npm ERR! 403 a package version that is forbidden by your security policy, or npm ERR! 403 on a server you do not have access to. It works great locally with no problems at all. I've added the .npmrc file with these lines in it: (AUTH_TOKEN being replaced with my token) //npm.greensock.com/:_authToken=${AUTH_TOKEN} @gsap:registry=https://npm.greensock.com Any suggestions on how to solve this?
×