View Full Version : Translucent slideshow Script + HTTPS

08-19-2013, 08:33 PM
1) Script Title: Translucent slideshow Script

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/translucentslide.htm

3) Describe problem: I've had the sript working for aa while, but have just noticed it dosen't load at al when accessed via HTTPS.

Here is a link both via HTTP and HTTPS

Not working

Can anyone offer any advise please


08-19-2013, 09:15 PM
Depends upon the browser. In IE 10, as perhaps others, the http: protocol content of the third party hosted jQuery is a problem:

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>

This is easily solved by changing to:

<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>

Since Google hosts both http: and https: versions, and because the browser will fill in a missing protocol with the protocol of the page, using the src attribute with no protocol will work for either page.

There could also be other problems, but in all likelihood that will take care of it.

The browser cache may need to be cleared and/or the page refreshed to see changes.

I also notice that there's a similar and unrelated issue:

<script type="text/javascript" src="http://www.google.com/cse/brand?form=cse-search-box&lang=en"></script>

This probably has no effect upon the slideshow, but upon whatever code uses the code linked to there. Although I don't know for sure in this particular case, the solution is probably the same.

08-19-2013, 09:38 PM
John you're an absolute hero! I'd have never debugged that.

Many thanks!