This entry was authored by highly-respected blogger and friend David Walsh. Learn more about David
As you can see from my site’s lack of design (davidwalsh.name), I’m about 90% programmer and 10% designer. As someone that’s not a designer, I’m really grateful for websites like ColourLovers — websites that provide you palettes of colors that look good together. Let’s pretend for a moment that I do have a good design and I want others to know my palette. MooTools 1.2 has made that a reality.

Continue reading →
I have posted a major update to my original post about Changing Text Size onClick with JavaScript at the David Walsh Blog.
It allows you to store your users’ text-size preferences in a cookie so that they don’t have to resize the text to their liking on every page. Check out the demo (remember to refresh the page to test the cookie!) and then check out how toSave Text Size Preference using MooTools and PHP!
Continue reading →
For many of us designing fluid layouts, which are generally based in “em”s (pronounced like the letter M) you end up not really knowing how many pixels an “em” is while you are deep in the DOM tree. This is especially confusing if you increase/decrease text size with your browser.
For this reason, I have created a simple Javascript function that you can use to poll any element on your test page and figure out what size an “em” is.
Continue reading →