Bill, I need your advice about how to edit Supersized – Fullscreen Slideshow jQuery Plugin Version 3.1.3.
I use Cloudflare [https://www.cloudflare.com/] for all my sites and it has a function called Rocket Loader which sometimes causes problems with java script. Rocket Loader automatically asynchronously loads your JavaScript resources, resulting in faster page rendering. It handles both inline and external scripts, while maintaining order of execution. But in this case, when I use it for Foxy, it doesn’t load the background image slider, and I believe its the Supersized script that I need to load it manually.
In manual mode, you designate which scripts Rocket should load asynchronously. You can also override Automatic mode on a script-by-script basis. So what I would like to do is leave it in Automatic mode, but modify the Supersized script to be loaded “manually”, that is, with this added code.
Manual mode syntax: [php]<script data-cfasync="true" src="/javascript.js"></script>[/php]
Note: data-cfasync must be the first attribute on the tag.
Can you give me some advice on how best to do this please?