All Articles
Using jQuery to Build a Show / Hide Section Toggle
jQuery provides us with a simple syntax to create UI Components on our website. Today, let’s use jQuery to turn a Squarespace button into a toggle that shows or hides a section.
Make It Repeatable - Show / Hide Toggle
Refactor your code to make it more reusable, and spend less time copying and pasting code around.
Transition Effects for Show / Hide Toggle
The jQuery fadeToggle() and slideToggle() methods give us simple ways to animate the visibility of elements on our page. But there are a few adjustments we need to make to get them to work properly in Squarespace.