IE8 Bug Lists

Here are some great sites listing IE8 bugs. I plan to submit some more :)

Read ›

Bipolar: Objects vs. Primatives

The other day I was making an isFalsy() function in JavaScript. It was then that I fell into the nexus of the universe. It turns out there is a case where "something == false" and "!something == false".

Check it out. All the following statements are true:

Read ›

IE Lost My Node Contents

I ran into the most bizarre JavaScript bug that plauges all versions of IE.

However, in IE, the node retains its attributes but has no children. That's right, #getElementsByTagName() returns an empty HTMLNodeList. #children? Empty HTMLNodeList. The weirdest thing is that #firstChild still exists, but it is an object with no properties whatsoever.

Read ›

IE Lost My Node Contents

I ran into the most bizarre JavaScript bug that plagues all versions of IE.

I get a reference to a node, set the parent's innerHTML then try to manipulate the node. The node should have all it's properties and child objects and does in standards-compliant browsers.

Read ›

Compiled JavaScript Templating

I've got my old version of CompiledTemplate online in a Pastie. It's got the source and a simple example. I need to finish my new version and do some benchmarking.

Read ›

Compiled JavaScript Templating

Using a find-and-replace template system is often very useful. In Prototype JS, there is a built in class called Template. But for larger html blocks that need basic template logic and formatting functions, compiling the template is fast and robust.

Read ›

Easing Equations

Robert Penner created a suite of mathematically genius actionscript functions to simulate real-life movements in Flash. The results are compelling.

We see swinging, bouncing, and elastic movements in real life, and even a lot on Flash and even TV due to the work of Rober Penner.

Read ›

Goodies

I ran into two great concepts today. First, there is a way to prevent circular references that choke IE's garbage collector. (View Article) I'll need to check into the concept more to see where I can use it. Hopefully it can be used in an event listener system. Thanks Kip!

Read ›

MouseEnter and MouseLeave

Mouseover and mouseout events are not intuitive. I've made a mockup and demo of a very short snippet that addresses the problem.

On a mouseover, the relatedTarget property references the node from which the pointer came. On a mouseout, the relatedTarget property references the node to which the pointer went.On any event, the scope is the node to which the event is attached.When the relatedTarget is a not child of the currentTarget, a mouseover event is equivalent to a mouseenter event and a mouseout event is equivalent to a mouseleave event.

Read ›