March 2007

Web 0.3

Great web sites, Still!
You can find everything except round corners.
http://www.ozarksoft.com/animation/index.html

Random Thoughts

Comments (3)

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

Round Corner Images

What round corners need is solution, not explanation!

http://www.hedgerwow.com/360/dhtml/dom_round_image/demo.php

User Interface
layout

Comments (3)

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 (4)

Permalink

Using single image to be the background for your HTML module.

I was thinking that if I can develop the more generic HTML markups
which look simpler for developers, but also be able to present more kinds of visual design elements on the page without bloating the performance and cost.

Here’s my experiment:
http://www.hedgerwow.com/360/dhtml/css_stretched_box/demo.php#

Have fun.

CSS Hack
CSS
layout

Comments (5)

Permalink