Jump to content
Search Community

https version of CSSplugin.js

besaroboy test
Moderator Tag

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

Hi, I have a banner that has a requirement to be served via https. I am referencing all the scripts as https and the banner runs fine locally. However when the pub (Gear Junkie) loads it they are getting hits from http rather than https. I searched through all the scripts I am using and the only place I see a reference to http is in CSSplugin.js.

for example (there is one other similar reference):

 z = function(t) {
                    return X.createElementNS ? X.createElementNS("http://www.w3.org/1999/xhtml", t) : X.createElement(t)
                },

So I grabbed and reference a local copy and created an uni-minfied version of the script. The banner works fine. But when I change this reference (and the other) to https://www.w3.org/1999/xhtml and the banner stops working.

Any ideas as to what I should do? Is there a better place to pull the CSSplugin.js rather than my modified "https://cdnjs.cloudflare.com/ajax/libs/gsap/1.17.0/plugins/CSSPlugin.min.js"?

Thanks,
-Marco
Link to comment
Share on other sites

Hi and welcome to the GreenSock forums,

 

Sorry to hear that system is encountering an error.

Our code is not making any external calls, that's just a standard way to create new DOM elements.

Please see similar thread here: http://greensock.com/forums/topic/12598-ssl-compliance/?hl=createelementns#entry52572

 

Hopefully that clarify things. If you have any other questions just let us know.

  • Like 1
Link to comment
Share on other sites

Hi and welcome to the GreenSock forums,

 

Sorry to hear that system is encountering an error.

Our code is not making any external calls, that's just a standard way to create new DOM elements.

Please see similar thread here: http://greensock.com/forums/topic/12598-ssl-compliance/?hl=createelementns#entry52572

 

Hopefully that clarify things. If you have any other questions just let us know.

 

Such a great stuff carl!

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.
×
×
  • Create New...