JavaScript
Prototype Tabs
Ever needed a good javascript class for making tabs that was SEO friendly and failed gracefully if the user did not have javascript? Well here is a great solution that works in all modern browsers. Javascript: <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/prototype/1/prototype.js"></script> <script … Continue reading
Prototype Crossfade Gallery
Here is a very simple and robust Prototype JS based gallery class that provides a nice crossfade effect for elements on your page. Based on what options you set for the class, you can make anything from a simple fading … Continue reading
Google AJAX Libraries API
Don’t want to host heavy Javascript libraries for your sites? Want to decrease your server’s bandwith? Want javascript libraries that may already be cached on your users computer? Check out the Google AJAX Libraries API and see if your favorite … Continue reading
Table Row Highlighter
This is a cool little JS script to higlight table rows. The row will change colors when you hover over it. If you click the row it will change colors. If you click the row again it will go back … Continue reading
Check / Uncheck all checkboxes in a form
I wrote this simple little function to check or uncheck all the checkboxes in a form. All you need are these two functions and prototype to make it work. Here are the functions: <script type=”text/javascript”> function enableAllFunction(domEle){ $$(domEle).each(function(ele) { ele.checked … Continue reading
Limit Form Field Length
This is a class that will limit a form element’s text length and display a counter showing how many characters they have used and will let the user know when they have reached the max. This class uses prototype 1.6 … Continue reading
