JavaScript

backface-visibility

Thank goodness so much web design and dev help is available with a well-formed search. I was doing multiple animations on an element using jQuery’s handy .animate() function. However, from the second animation onward I was getting rendering artifacts in … Continued

Upgrade Hover Dropdown for Mobile

…In which we write the BARE MINIMUM jQuery-based JavaScript to enable traditional CSS hover-based drop-down menus to be mobile-capable.

Ternary Operators – Why bother?

A ternary operator is basically a short form for a conditional (if..else) statement. The syntax is “condition ? result1 : result2″. If the condition is met, then go with result1; otherwise go with result2. Here is what one looks like … Continued

jQuery Check if Element has auto width/height

…In which I solve a Stack Overflow problem that was deleted from Stack Overflow: “How do we tell if a div has auto height on it or not?” My solution might be a hack, but it’s a solution!