A JavaScript Bug of SpiderMonkey on Firefox
Hopefully, we’re safe from this kind of problems..
http://www.hedgerwow.com/360/bugs/js-spider-monkey-bug.html
In case you need to implement min-width for IE6
I’ve posted a example about make min-width work on IE6 before, and this post is about giving you a bare bone template with min-width support so that you can simply grab the code for your layout easily.
Though the CSS / HTML seems tricky for some developers, I still think this a far better solution than the extremely expensive expression(); solution.
the template is available here http://www.hedgerwow.com/360/bugs/css-only-min_width_ie6_2..html
Update:this one works even better for me.
http://www.hedgerwow.com/360/dhtml/css-min-width-final.html
Cheers
Stable Array.sort
I’d think that stable sorting does matter for most sortable UI, and it’s better to let JS to do it natively since we use JS a lot to make UI sortable.
http://www.hedgerwow.com/360/dhtml/js_array_stable_sort.html
Long Word breaker
for really long words in HTML, there’s a way to break it.
http://www.hedgerwow.com/360/dhtml/css-word-break.html
Finally, the alternative fix for IE6’s memory leak is available
JavaScript, the unnecessary part : About Label
My answer which explain why people like to use JavaScript label for inline script unconsciously.
http://www.hedgerwow.com/360/dhtml/js_label/
Simple “Class” Instantiation, the alternative solution.
My two cents for this little JavaScript trick.
http://www.hedgerwow.com/360/dhtml/js-simple-instantiation.html
Slides and example codes for my presensation in D2
Just upload the materials of the topic “Enterprise Ajax in PHP” which I presented in the second developer and designer summit in Beijing, China.
Feel free to download and share this with your friends.
- download power point slide file
- view the slide online
- download the JS + PHP5 Sample examples and codes
Code patterns for anonymous function
A void anonymous function
http://www.hedgerwow.com/360/dhtml/js-anonymous-function-patterns.html