A while back I made a post about a simple placeholder script I wrote. The idea was to provide the placeholder functionality that browsers like Chrome and Safari have, to browsers that don’t have it, like Firefox and IE. The script was very simple though and not smart in a few ways, including inability to handle password fields and an incorrect way of checking placeholder support in the browser. Since then I wrote an improved version of the script, in the form of a jQuery plugin. The highlights of this improved script include
- proper use of jQuery’s plugin framework to create a fully chain-able plugin
- support for password fields and text areas
- correct check for placeholder support in browser
- and just overall a better written piece of code
You can see a demo of the plugin in action and download the commented source file (4.7kb), or the minified source file (1.7kb), or the clean (not minified but not commented) source file (2.6kb). Below I’ll go over some of the more interesting parts of script. Read more »
I made several more icons in the same style as my previous 
I’ve made these to put on my Nexus One, but of course they can be used anywhere, not just on Android. These are minimalistic icons with subtle gradients and shadows; they come in two flavors, one with reflections (what you see in the image above) and a plain style (no reflections and slightly bigger). There is a total of 26 icons and you can see a full preview below.