Refresh after form submit
Automatically refreshes the page 7 seconds after any form submission.
By Corey Moen
Basic scrollTrigger setup
Animate elements based on scroll position using GSAP and ScrollTrigger.
By Digipop
Get localStorage
Retrieve and parse surfers data from localStorage.
By Jared Malan
Rive Input - Update Boolean
Set a boolean Rive input to true or false
By Jeff McAvoy
Validation - Website
Validates URLs using regex and handles validation on input blur.
By Jared Malan
Fetch - Delete
Delete a resource via API using JavaScript's fetch with DELETE method.
By Jared Malan
Hide scrollbars
CSS class to hide scrollbars
By Jared Malan
Text Highlight Color
CSS code for high-contrast text selection: black background and white text.
By Jared Malan
Fetch - Post
This code sends a POST request with JSON data to a specific URL, processes the JSON response, and handles any errors.
By Jared Malan
Richtext Reset
Removes top margin of the first and bottom margin of the last child elements in a rich text container.
By Jared Malan
Validation - Phone
Validates phone number format and handles errors on input field blur.
By Jared Malan
Restart IX2
Reset, initialize, and prepare Webflow interactions for optimal functionality.
By Web Bae
Click Something When Pressing ESC Key
Triggers a click on a specified element when the 'Escape' key is pressed.
By Corey Moen
Tabs switch on hover
JavaScript code for a hover-based tab interface with dynamic content display.
By Andrea Morgan
Print Page Button
Trigger browser print dialog on clicking element with ID 'print'.
By Digipop
Hide element if collection is empty
Hide sections based on dynamic content state using jQuery.
By Corey Moen
GSAP card staggered animation
Animate elements on viewport entry with GSAP and ScrollTrigger.
By Digipop
Track User Localstorage
Tracks user navigation and populates a form field with the history.
By Jared Malan