Jump to content
Search Community

Ezahnin

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by Ezahnin

  1. On 12/8/2020 at 9:37 AM, acipriani said:

    Yes it is a good suggestion I for external scripts I use a fantastic "advanced script" plugin where you can control very well what you have to load, but there are other methods as well

    so, after installing gsap in Oxygen Builder via Advanced Scripts, and building some wonky animations using the CDN I then refined/rebuilt the script I intended to have using Codepen. After seeing it work as intended I then applied the code to my site. As before, I again received the Uncaught ReferenceError.. both trying to use the local and CDN... (can't remember what i did to get the first bit of code to work on the site (blushes) probably held my tongue in the right position.)

     

    Under the "Network" tab in the inspector you can see that the gsap.min.js is loaded however, im not sure that means very much.. do I need to register gsap as I am a Club Member or do I need to import a module to use TimeLines or have I simply coded something wrong (Oxygen vs Codepen)??

    Also to add. when installing gsap locally thru Advanced Scripts in Oxygen Builder it renamed the files gsap.min_.js.. not sure if that has an effect so I went into the cPanel and changed all the gsap files to (.)js.. didn't change the results tho. (Note: i never got gsap to work on local install only CDN )

     

     

    See the Pen KKmovbW by MrBoboToast (@MrBoboToast) on CodePen

     

     

    error_gsap.jpg

    gsap_loaded.jpg

×
×
  • Create New...