A jQuery plugin to style form elements while keeping the original form for people without javascript.
© 2008 the people's valley
$(window).load(function () {
$("form").fancyForm();
});
If you don't load the plugin with $(window).load but $(document).ready Webkit based browsers (safari/chrome) might not render multiple input elements correctly
Every theme uses it's own images which you can group in a folder; since you create the theme you can use your own naming scheme.
You can either make images for normal and active state seperate or put them in 1 image; if you decide to put them together in one file you can switch between accoring to this example:
.fancy .checkbox {
background: url(../images/checkbox.gif) no-repeat 0 0;
width: 15px;
height: 13px;
}
.fancy .checkboxactive {
background: url(../images/checkbox.gif) no-repeat 0 -13px;
width: 15px;
height: 13px;
}
As you can see it's rather easy, just put in an offset.