CSS-Tricks / AnythingZoomer

Zoom in on images or content
https://css-tricks.github.io/AnythingZoomer/
MIT License
207 stars 45 forks source link

jquery script src corrupted #3

Closed brycefisher closed 12 years ago

brycefisher commented 12 years ago

In each of the html files in the root directory, the script src attribute for jquery is: src="//ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js

It seems to work fine when I change it to: http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js

Just thought I'd let you know!

Mottie commented 12 years ago

It's not really a bug. It's designed to work online to prevent "This Page Contains Both Secure and Non-Secure Items" error message in IE - see the protocol-relative URL article by Paul Irish.

Because it's designed to work online, it doesn't work very well locally. So yes, add the http:// to the links while testing.