zippy1978 / jquery.scrollz

Modern scrolling for jQuery
GNU General Public License v2.0
81 stars 17 forks source link

jQuery Mobile Example won't Load due to "strict MIME type checking is enabled" #15

Closed normanhh3 closed 11 years ago

normanhh3 commented 11 years ago

I am using this library and it is working just fine - thanks for the hard work. The jQuery Mobile example (http://dl.dropboxusercontent.com/u/26978903/scrollz/mobile.html) however isn't working when loaded from Chrome on a desktop due to an error:

Refused to execute script from 'https://raw.github.com/zippy1978/jquery.scrollz/master/dist/jquery.scrollz.min.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled. mobile.html:1

zippy1978 commented 11 years ago

Hi, This actually comes from the fact that the CSS file is directly retrieved from the github sources in the example, but the file is served with the wrong mime type.

It has nothing to do with the code, to make it work : download the sources and use them localy.

Gilles