Jump to content
Search Community

jwalker44

Premium
  • Posts

    2
  • Joined

  • Last visited

Everything posted by jwalker44

  1. I am calling all the gsap code including the registerPlugin in the jquery load event when all the dom elements should be created. If it is helpful the page with the ScrollTrigger is here: https://jwalker44.com/aerotropolis/ (the images in the green "Aerotropolis" section half way down the page should be animating in). This works great on my local site. I'm not seeing any gsap related errors in the console... Other animations using gsap but not the ScrollTrigger addon work ok.
  2. Hi - I have a simple local website built with Wordpress. GSAP works great here. I have the auth token loaded in my npmrc file and am enqueueing the scripts I need (gsap.min.js and ScrollTrigger.min.js). However, when I copy the files up to my production site (all files match at this point), ScrollTrigger is not working. I'm registering it in my .js file ( gsap.registerPlugin(ScrollTrigger); ) and again it works perfect on my local site. I have searched and not found a solution that helps. Also tried adding (lazy:false) with no luck. I feel like I am missing how to correctly install/use gsap on production server. I've also watched the video on how to install - still think I am missing something. Can anyone give me simple/clear instructions on how to push local site using gsap successfully to a production environment? Thanks!!!!
×
×
  • Create New...