javascript

The personal site, tutorials, and projects of Adam Wulf

Entries Tagged as 'javascript'

The undocumented life of JavaScript’s parentNode property – Internet Explorer edition!

July 21st, 2009 · 6 Comments

Did you know that the parentNode property in JavaScript doesn’t always point to the element’s parent??! And not only that, but that very same node that’s lying to you also appears multiple times in the DOM.

Post to Twitter Tweet This

[Read more →]

Tags: javascript · programming

Dynamic Multi-Page Multi-Column Newsletter Layout with Columnizer

June 18th, 2009 · 7 Comments

A Columnizer Case Study

Sample Page LayoutI got an interesting email this week, asking about how to use Columnizer to help layout a multipage and multicolumn newsletter. The length of the content would vary from week to week, so the newsletter needed to be grow/shrink to as many pages as necessary. It also needed a custom header and footer for each page.

Post to Twitter Tweet This

[Read more →]

Tags: javascript · programming · user interface

The undocumented life of jQuery’s .append()

March 19th, 2009 · 8 Comments

Did you know that .append() sometimes moves the nodes you pass into it, and other times clones them? This undocumented behavior may cause you some grief if you’re assuming the first, but seeing the second.

Post to Twitter Tweet This

[Read more →]

Tags: javascript · programming


Page 1 of 712345...Last »