AnsweredAssumed Answered

Javascript works intermittently

Question asked by Kristin Anthony on Nov 11, 2015
Latest reply on Dec 7, 2015 by Stefanie Sanders

I am using some custom Javascript on a sandbox course. It seems like, depending on where I host the Javascript, it either works intermittently or not at all. I just wanted to get an idea of whether or not anyone else has experienced this issue.


I've bundled together the OWL carousel jQuery plugin and some code to produce a "retina effect" (Apple-like Retina Effect With jQuery | Tutorialzine) together into one file. If I host it on my google drive, it works fine in Google Chrome and Safari, but not at all in Firefox.  If I host in on my org's development server, it only works intermittently in all browsers. There are no errors showing in the console when the code works and none when it doesn't work.


I've checked the syntax in a couple of javascript validators and it checks out as fine.


Does anyone have any idea of what could be going on?