Code

Free QR Code Generator

May 7th, 2023 1 minute read

This has been moved to it's own domain 👉 GratisQR.com QR Code contents: (Right Click > Save Image As...) I wrote this simple script (that uses the free... more »

Better Strikethrough / Strikeout Style (good for prices) with CSS

May 22nd, 2020 1 minute read

This code will show you how to make a more style and readable "strikeout" style of text. Good for showing pricing discounts etc. The strike line adjusts... more »

Fast & Agile YouTube Embed - Responsive iFrame load delay with jQuery

August 13th, 2015 3 minute read

This code is an alternative to the traditional YouTube <iframe> embed. It will reduce the downloads of each embeded video by about 90% and have them... more »

Simple Responsive Table Solution for Mobile using jQuery

November 22nd, 2013 2 minute read

So far I've found all the proposed solutions for dealing with wide tables on mobile to be a bit cumbersome and just not that great. Then I had the idea... more »

Replace checkbox inputs with "mobile style" toggle switches using jquery and css

September 27th, 2013 4 minute read

So as the world gets more and more mobile people are getting used to seeing the toggle switches seen on iPhone/iOS and Android user interfaces. They are... more »

Easy css3 transitions

May 1st, 2012 1 minute read

You can do a lot with css3 transitions and I'm not going to get into that here. But I am going to show you a simple line of css you can start using now... more »

PHP Shorthand Conditional Statement

April 30th, 2012 2 minute read

Here's another quick hit from my php snippets. You can see a review of a lot of ways to do this on David Walsh's post on the subject. However, I wanted to... more »

PHP Conditional Statement - In Between Dates

January 20th, 2012 1 minute read

I'm always using little php snippets in tons of projects. Here's one I needed today that is very useful.  If you want a specific item to show only... more »

Facebook "Fan Us" fixed position side tab button

March 20th, 2010 3 minute read

Recently I've been seeing these "feedback" tabs fixed to the left or right side of websites that open up customer feedback forms by companies like UserVoice.... more »

Degradable PNG Transparency for IE6

July 3rd, 2009 4 minute read

All (sane) web developers are eagerly awaiting the day Internet Explorer 6 dies. While there are a number of opinions in the community on when we should... more »

« Back to Blog