Using Respond.js when your site CSS is on a CDN or Subdomain

That title is a mouthful.  It better get me more googleability on the Google.  But seriously, I ran into the strangest problem yesterday while trying to put lipstick on yet another pig.  If you haven’t heard of Respond.js then its time to roll out from under your rock.  If you have heard of it, then you know its about the most awesome solution to supporting @media queries (min-width & max-width) on IE8.

What’s this you say?  IE8 doesn’t support @media queries? Nope.  Go ahead, re-size one of your super responsive websites (including Bootstrap) in an IE8 browser, we’ll wait for you to come back.   If you didn’t leave, then you already know.  Response.js solves this problem, and if you’re like me, you don’t really care how.  You just know it’s a well known problem, with a well known solution.  You add the javascript library to your page and VOILA!, IE8 starts to behave.

(more…)

Read More

jquery

Enable Custom Days in jQuery Datepicker

jQuery Datepicker is an awesome way to present a calendar to your users and let them choose a day.  But sometimes your clients are just total pains.  You know who you are. So your client doesn’t do business on Thursdays?  Or what if they just aren’t available on May 6th, 2027?  Do you know how to enable a certain set of days or even specific days of the week?  Now you can.

To get started, be sure you’ve included the jquery UI framework (we’re using 1.9.2 below) and create a text input that will later become your datepicker.

(more…)

Read More

lips

Pig… meet Lipstick.

To put “lipstick on a pig” is a rhetorical expression, used to convey the message that making superficial or cosmetic changes is a futile attempt to disguise the true nature of a product.

After more than a decade of experience, I’m here to tell you there is nothing superficial or futile about it.  Lipstick in the digital world sells pigs.  Lipstick can open budgets to improve said pig.  Lipstick is the lifeblood of a digital products career, it’s not all that is needed, but it’s a damn good start.

(more…)

Read More