Self-Hosting
To self-host your scripts:
Step 1
Download the .js and .css files and upload them to your Squarespace website:
wmScrollAwayHero.css
wmScrollAwayHero.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.
<!-- Scroll Away Hero Javascript from Will-Myers.com -->
<script src="/s/wmScrollAwayHero.js"></script>
<!-- Scroll Away Hero Styles from Will-Myers.com -->
<link rel="stylesheet" href="/s/wmScrollAwayHero.css">
The javascript goes in the Site FOOTER Code Injection area.
Step 3
Replace the URL’s "/s/wmScrollAwayHero.css" and "/s/wmScrollAwayHero.js" match the unique URL’s that Squarespace generates for you.