Hi
We are using Backspace Cloud to host all our mobile landers and its great giving us the option to service sites with HTTP and HTTPS. Everything works fine on our javascript with HTTP, however when we serve the site via HTPPS the javascript stops working. Our script is in another file on the server. Any help would be much appreciated.
I presume you mean Rackspace cloud? The CDN?
This could be due to mixed content warnings. Make sure your JS is loading via a relative local link or an HTTPS link. If you try to load the JS from an HTTP location when the page is loaded via HTTPS, many browsers will give warnings.
Here is a way to have them load whichever is needed:
Orig:
<script src=”https://ajax.microsoft.com/ajax/jquery/jquery-1.3.2.min.js” type=”text/javascript”></script>
Updated:
<script src=”//ajax.microsoft.com/ajax/jquery/jquery-1.3.2.min.js” type=”text/javascript”></script>
(Protocol Relative URLs)