Joined October 2012
·

Faz

Paris, France
·
·
·

Posted to Clearfix Me ! over 1 year ago

You're right. Reading my post now, I don't understand the zoom: 1;

Your .clfx:after seems perfect

Won't work with IE 6 or 7
You can use native JS :

document.getElementsByClassName('thisClass')

Posted to Tribute to _this = this ! over 1 year ago

I'll remember that.
Thx

Posted to What's behind $.bind ? over 1 year ago

Totally true.
I just wanted to partially show how simply binding without jQuery.
My intention wasn't to give a $.bind pure-DOM equivalent.

I usually do things like that :

fname : function() {
if(!$('.classname').length) return;
}

Achievements
132 Karma
6,319 Total ProTip Views