Self-Hosting

To self-host your scripts:

Step 1

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

wmVerticalAccordions.css
wmVerticalAccordions.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.

<!-- Vertical Accordions Styles from Will-Myers.com -->
<link rel="stylesheet" href="/s/wmVerticalAccordions.css">

The Javascript goes in the Site Footer Code Injection area.

<!-- Vertical Accordions from Will-Myers.com -->
<script src="/s/wmVerticalAccordions.js"></script>

Step 3

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