Self-Hosting

To self-host your scripts:

Step 1

Download the .js and .css files and upload them to your Squarespace website:

wmSectionRandomizer.css
wmSectionRandomizer.js

Step 2

Copy the two code snippets, and paste them into their designated areas.

The Styles go in the Site Header Code Injection area.

<!-- Section Randomizer Styles from Will-Myers.com -->
<link rel="stylesheet" href="/s/wmSectionRandomizer.css">

The Javascript goes in the Site Footer Code Injection area.

<!-- Section Randomizer from Will-Myers.com -->
<script src="/s/wmSectionRandomizer.js"></script>

Step 3

Replace the URL’s "/s/wmSectionRandomizer.css" and "/s/wmSectionRandomizer.js" to match the unique URL’s that Squarespace generates for you.