Javascript fix for chosen and IE

Chosen is a javascript plugin that makes select boxes more user friendly.

The zindex stacking context issue means it doesnt work out of the box in IE7.

The Javascript below resets zindexes so chosen dropdown displays correctly

Javascript fix for autofocus

Autofocus=”autofocus” attribute specifies that any input (or button in HTML5) should automatically get focus when the page loads – it obviously doesn’t work in some (all?) versions of IE.

Javascript fix (needs jquery and Modernizr)

Or in coffeescript,

Favourite Jobs quote

In honor of the late Steve Jobs,

“Your time is limited, so don’t waste it living someone else’s life. Don’t be trapped by dogma — which is living with the results of other people’s thinking. Don’t let the noise of others’ opinions drown out your own inner voice. And most important, have the courage to follow your heart and intuition. They somehow already know what you truly want to become. Everything else is secondary.”