Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
I am the chief technical officer at InVision App, Inc - a prototyping and collaboration platform for designers, built by designers. I also rock out in JavaScript and ColdFusion 24x7.
Meanwhile on Twitter
Loading latest tweet...
Ben Nadel at cf.Objective() 2014 (Bloomington, MN) with:

Alex Sexton

Member since Dec 10, 2009

Recent Blog Comments By Alex Sexton

  • Using Self-Executing Function Arguments To Override Core jQuery Methods

    Posted on Sep 14, 2010 at 11:22 AM

    I believe this is considered "Aspect Oriented Programming" and Paul had a good article on how to do some cool stuff with jQuery (though he uses the much cooler term "duck punching). Just thought I'd share: http://paulirish.com/2010/duck-punching-with-jquery/... read more »

  • Experimenting With CSS-Based Animations And Transitions

    Posted on Jul 26, 2010 at 4:08 PM

    @Justin, Scripty was around before jQuery... old name was Scriptaculous.. :)... read more »

  • Experimenting With CSS-Based Animations And Transitions

    Posted on Jul 26, 2010 at 10:39 AM

    @andy - the point of using JavaScript to control CSS animations is 'hardware acceleration.' The old way of animating with javascript is essentially a highly optimized hack. With CSS animations you have hardware support to do things that could never be done with the old hacks. Case in point: http:/... read more »

  • Experimenting With CSS-Based Animations And Transitions

    Posted on Jul 26, 2010 at 10:37 AM

    The setTimeout is needed because of the 'style-batching' that browsers do in order to make animating multiple properties at once more feasible. When you don't use setTimeout, all your different points get batched into the same group and you end up with immediate animation. The webkit bug for this i... read more »

  • jQuery Events: MouseOver / MouseOut vs. MouseEnter / MouseLeave

    Posted on Jan 18, 2010 at 2:25 PM

    @Pieter, We get that question a lot in the #jquery irc channel, and I think the code you wrote works exactly as it should, however not to your specifications. Essentially what's happening: The hover functions that you pass into the event get applied to each matching element _individually_. So the ... read more »

  • jQuery Events: MouseOver / MouseOut vs. MouseEnter / MouseLeave

    Posted on Jan 11, 2010 at 10:52 AM

    Just for clarification, in jQuery 1.4, the $.hover() event can take one function as an argument, as well as two. This is would allow you to pass in a single function that uses $.toggleX() or something similar. It would be the technical equivalent of actually using the events (in a single bind) that... read more »

  • Using $Variable In jQuery Code Is Just Hungarian Notation

    Posted on Dec 10, 2009 at 4:24 PM

    I think, in the general case, you are probably right about that not coming up very often, but jQuery has a pretty big gotcha when it comes to having raw dom nodes. Since just about everything except $.fn.extend() passes the raw dom node, we consistently find ourselves with a reference to a dom node ... read more »

  • Using $Variable In jQuery Code Is Just Hungarian Notation

    Posted on Dec 10, 2009 at 3:45 PM

    Interesting post Ben! I am very wishy-washy on whether I agree with my tendency to use the $ prefix. I think I rationalized my thoughts best in one of the recent podcasts, though, and I think I can still stick by that. Dan touches on the same point that I bring up, and while I see that tableNode an... read more »