Slick Media Blog

Covering Website Design, Coding, SaaS, Software and Tech.
Editorial by
Glenn

Moment.js Time between two dates from now

April 5, 2021
2021-04-05
Posted 3 years, 9 months, 8 days ago
How to show the time elapsed between a date in the past and today / now with Moment.js.

jQuery Text Links to Hyperlinks

April 1, 2021
2021-04-01
Posted 3 years, 9 months, 12 days ago
How to turn text links into clickable links with an href attribute.

jQuery Set Image TITLE from ALT Tag

January 11, 2021
2021-01-11
Posted 4 years, ago
This is a super-useful jQuery Script that gets the Image Title from the ALT Tag if no title is set with a fall-back to the image src.

Enable Cross-Origin Resource Sharing with CORS Anywhere

October 29, 2020
2020-10-29
Posted 4 years, 2 months, 15 days ago
How to enable Cross-Origin Resource Sharing with CORS Anywhere

Scroll To with Fixed Header

September 29, 2020
2020-09-29
Posted 4 years, 3 months, 14 days ago
This jQuery snippet is the holy grail of jQuery Scroll To with Fixed Header and the only script that we have found to work with Webflow Fixed Header with Scroll.

CSS Colour Tint

July 31, 2020
2020-07-31
Posted 4 years, 5 months, 13 days ago
Colour Tint with CSS

Element height always the same as width

July 23, 2020
2020-07-23
Posted 4 years, 5 months, 21 days ago
How to ensure the element height is always the same as the width

Auto populate Webflow form from URL parameter uppercase remove %20

May 12, 2020
2020-05-12
Posted 4 years, 8 months, 1 day ago
How to auto-populate a Webflow form from URL parameter

jQuery Toggle Class on Click

April 8, 2020
2020-04-08
Posted 4 years, 9 months, 5 days ago
How to toggle the Class on Click with jQuery

301 Domain Redirect

February 4, 2020
2020-02-04
Posted 4 years, 11 months, 8 days ago
The 301 Domain Redirect Explained and Uses for Good SEO

Slick Carousel Fade In on Load

January 7, 2020
2020-01-07
Posted 5 years, 5 days ago
You don't need any JavaScript/jQuery to Fade in the Slick Carousel on Load as this can be achieved with just a few lines of CSS.

CSS Target all mobile devices

January 7, 2020
2020-01-07
Posted 5 years, 5 days ago
If you are looking to make a universal CSS rule for all mobile devices then use the following CSS media query.

Remove Video Loop

November 6, 2019
2019-11-06
Posted 5 years, 2 months, 8 days ago
Embedded HTML 5 Videos often default to looping video and this is derived from the video 'loop' attribute. Here is how you can remove the Video loop attribute with a simple jQuery snippet.

jQuery Other Input box to Select dropdown

October 30, 2019
2019-10-30
Posted 5 years, 2 months, 15 days ago
How to create an 'Other' Input Box from a select dropdown

iCloud Unable to Login Fix

September 30, 2019
2019-09-30
Posted 5 years, 3 months, 14 days ago
If you find that you are suddenly unable to login to iCloud on Mac then follow this simple step to fix it.

Isotope Filter by URL Hash

July 24, 2019
2019-07-24
Posted 5 years, 5 months, 21 days ago
jQuery Isotope remains the best script to filter and sort elements in various layouts like grids, masonry and responsive layouts. A missing feature is the ability to sort these layouts via a URL hash and you can fill in this blank with this snippet

Best Free Snippets Manager

July 12, 2019
2019-07-12
Posted 5 years, 6 months, 3 days ago
Gisto is a FREE code snippet manager that runs on GitHub Gists and adds additional features such as searching, tagging and sharing gists while including a rich code editor.

jQuery Remove Duplicates

July 2, 2019
2019-07-02
Posted 5 years, 6 months, 13 days ago
This is a useful jQuery Script that removes duplicates within an element such as a list. It simply cycles through an element and removes anything previously 'seen'.

Mac spinning wheel fix

June 2, 2019
2019-06-02
Posted 5 years, 7 months, 12 days ago
Fix Mac rainbow spinning wheel of death.

Aestetico Font by Latinotype

March 29, 2019
2019-03-29
Posted 5 years, 9 months, 16 days ago
World-renowned type foundry Latinotype have produced a beautiful, versatile sans-serif font family that can be used in a huge variety of brand applications.