Quantcast
Channel: Squarespace Answers - latest questions
Viewing all articles
Browse latest Browse all 21023

jQuery Preloader - What am I doing wrong?

$
0
0

I'm attempting to add a jQuery preloader to my website by injecting the following into the header of my gallery home page - via Gallery Settings > Advanced > Page Header Code Injection.

It doesn't work though. I'm really new to this so does anyone have any idea what I am doing wrong?

<script src="http://princessandrea.com/jquery.queryloader2.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function () {
    $("body").queryLoader2();
});
</script>

I have the JavaScript file uploaded at another host at the above domain because I don't even see how to upload files here on Squarespace. Thanks to anyone who can help!


Viewing all articles
Browse latest Browse all 21023

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>