JavaScript

oncontentready : An alternative to simulate oncontentready on Internet Explorer

Detecting Element.outerHTML  periodically to see if an Element is fully parsed and avoid Operation Abort Error.
http://www.hedgerwow.com/360/dhtml/ie-dom-oncontentready/doc.php

JavaScript
DOM
IE only

Comments (5)

Permalink

Import Javascript into CSS for IE6

So much love & hate for IE6 :-P

http://www.hedgerwow.com/360/dhtml/ie6-css-hack-import-js.html

JavaScript
CSS Hack
CSS
IE only

Comments (2)

Permalink

Purging Event Listeners for Internet Explorer

Interesting facts about Element.clearAttributes();

http://www.hedgerwow.com/360/dhtml/ie6-clear-memory-leak/demo.php

JavaScript
IE only
memory leak
Dom Event

Comments (0)

Permalink

purge javascript array

Something seems pretty handy to me:-) .
kudos to my fellows :
Carl Sobeski, Nicholas Zakas, and Douglas Crockford

http://www.hedgerwow.com/360/dhtml/js_purge_array.html

JavaScript

Comments (0)

Permalink

How many stacks can JavaScript handle?

Some bad about closures and Safari, again. :-<
http://www.hedgerwow.com/360/dhtml/js-max-callstacks/demo.html

JavaScript
bug
Safari

Comments (0)

Permalink

Dynamic Gradient Background

Let’s say Sorry to Safari… :-<

http://www.hedgerwow.com/360/dhtml/dom-gradient-background/demo.php?

JavaScript
DOM
PNG
Canvas
FancyStyle

Comments (0)

Permalink

CSS List-Style-Image, DOM Events, and DHTML Behavior

My little experiment about Event Delegation

:-)

http://www.hedgerwow.com/360/dhtml/dom-event-delegation.html

JavaScript
DOM

Comments (1)

Permalink

eval( anyString ) safely for JSON

My little experient for eval().
http://www.hedgerwow.com/360/dhtml/js_safe_eval/demo.php

JavaScript
JSON

Comments (0)

Permalink

Embedding Javascript into CSS on IE6

My manager asked me if it’s safe for us to dipslay user-generated CSS texts on the page, and my answer iss “No”

My friend and my co-worder Nicholas C. Zakas is against putting JavaScript into CSS based on lots of convincing reasons, too.

But in order to explain how it might work, I still need to do this with example codes which work on IE6 only.

Feel free to view the source and share this with your co-workers.

I tried to messed up the CSS to make it looks unlikely normal JavaScript or CSS.

Just have fun to do a little code review!
Example: (require IE6)
http://www.hedgerwow.com/360/dhtml/css_embed_js_for_ie6.html

JavaScript
CSS Hack
IE only

Comments (3)

Permalink