Friday May 16, 2008
Banner Menu
Blog
Documents
Forum

Mobile Blog

Blog Feed

Please install the DS-Syndicate component

Skype Status

Offline 

Featured Websites

Converted Organics

Food wastes comprise the third largest solid waste category—more than 25 million tons per year!  Converted Organics is dedicated to producing a valuable organic biostimulant (a natural fertilizing product used for organic farming, gardens and lawn & turf applications) through food waste recycling. 

The Cabot House Family of Retail Furniture Stores includes eight Cabot House stores, five Thomasville stores, and a Drexel Heritage store. Showrooms in Massachusetts, Rhode Island, New Hampshire, Maine or Florida today.

Beautiful Fine, Casual and Unique jewelery and gifts for sale on-line. 
Browse, click and wear.     Simple, fast and secure.

You will love it.

Mar 21 2006
Cool Forms v 1.0 Print E-mail
Tuesday, 21 March 2006

    zip coolforms 1.0

   I wrote a small little javascript library that I use on several of my sites to spice up standard old html forms. I call it CoolForms for lack of any originality.

   Basically it traverses the DOM and adds configurable classnames to HTML Form elements. It also adds event handlers (mouseover, mouseout, focus, blur) to the element and changes classes on each state. Then, you can modify a simple style sheet and, voila, you have cool looking form elements. The script uses Mike Foster's excellent X Library. If you already have prototype.js on your site, you could easily change out a couple lines of code and skinny down your bandwidth for the X library. 

    If you want to use it, you should include the script and call the "coolForms()" function when the window is loaded. Also, be sure to include the css file in your page.

    Then, just edit the css file to add the effects you want. 

Comments
Mar292006
at 02:15 pm
fabrizim said...
You can see an example of the effects by checking out the textarea for the comments :-)

Write Comment
  • Please keep the topic of messages relevant to the subject of the article.
  • Personal verbal attacks will be deleted.
  • Please don't use comments to plug your web site.. Such material will be removed
Name:
BBCode:Web Address Email Address Load Image from Web Bold Text Italic Text Underlined Text Quote Code Open List List Item Close List
Comment:





This image contains a scrambled text, it is using a combination of colors, font size, background, angle in order to disallow computer to automate reading. You will have to reproduce it to post on my homepage
Enter what you see: *
tips: hit Reload page before writing a text if you have difficulty reading characters in image

Powered by AkoComment 2.0! and SecurityImage 3.0.2