Select Radio on Load
Trigger parent element click based on radio button value.
By Jared Malan
Ellipsis text
CSS class to truncate text with ellipsis when it overflows the container width.
By Jared Malan
Number to Currency
Formats a string input as US dollar currency without decimal places.
By Jared Malan
Text Highlight Color
CSS code for high-contrast text selection: black background and white text.
By Jared Malan
Fix Paragraph Runts With Nonbreaking Space
Prevent single-word runts in HTML elements with the class `.no-runt`.
By Corey Moen
Remove https:// From Text Link
Remove protocols from anchor texts using jQuery.
By Miodrag Jovanovic
Auto update copyright year
Dynamically updates an HTML element to display the current year using JavaScript.
By Digipop
Fetch - Put
Update server resource via PUT request using Fetch API.
By Jared Malan
Refresh after form submit
Automatically refreshes the page 7 seconds after any form submission.
By Corey Moen
Set localStorage
Store an array of surfer names in localStorage as a JSON string.
By Jared Malan
Auto-collapse accordion in Webflow
Toggle accordion elements with a click, ensuring only one can be open at a time.
By Digipop
Currency to Number
Convert currency string to number by removing non-digit characters and parsing to float. Throws error for invalid input.
By Jared Malan
Filter Out Selection
Filter array elements matching button text on button click.
By Jared Malan
Hide element if collection is empty
Hide sections based on dynamic content state using jQuery.
By Corey Moen
Validation - Email
Validates email format and handles invalid input on blur event.
By Jared Malan
Restart IX2
Reset, initialize, and prepare Webflow interactions for optimal functionality.
By Web Bae
Improved Font Rendering
CSS for font smoothing, text rendering, and scroll behavior on the body element.
By Jared Malan
Reveal Words on Scroll
Animate text on scroll with GSAP, ScrollTrigger, and SplitType.
By Witt Langstaff