Draggable Movable Blocks for Interactive Layouts
What You'll Create
Draggable blocks that visitors can move around the page like a digital moodboard. Using jQuery UI's draggable functionality, this technique transforms video blocks or list section items into interactive, repositionable elements. Perfect for portfolio presentations that invite exploration.
The Problem It Solves
Squarespace layouts are fixed—blocks stay where you place them. When you want to create an interactive experience where visitors can rearrange content (like dragging images around a moodboard), you need JavaScript. This technique adds that playful, explorable quality to your pages.
Perfect For
Interactive portfolio moodboards
Creative agency showcases
Art gallery presentations
Event or wedding inspiration boards
Any design wanting visitor interaction
Behind-the-scenes or process pages
What Makes This Different
The script leverages jQuery UI's draggable method with the stack option, ensuring the most recently moved item appears on top. A fade-in animation prevents layout shift on load, and the technique can target either video blocks (via section class) or list section items (via anchor link trigger). The CSS handles overflow and z-index properly for smooth stacking.
Details
Section Type: Fluid Engine
Code Type: CSS + JavaScript
Prerequisites: jQuery UI library loaded. Section with video blocks or list items. Anchor link for targeting.
Toolkit Title: Movable Blocks
Learn This Technique
This is one of 150+ code techniques taught inside Standout Squarespace, where you get:
The complete, copy-paste code
Video walkthrough explaining how it works
The principles behind the technique so you can customize it
Access to our private community for support

