Hide and Show Elements by Class or ID
6
This function sets a particular style for an element based on it's class
6
This function will set the style of an element by it's ID
6
This snippet also you to limit the input in a form field to a specified number of characters. It displays a counter so users can see how many characters they have left, and once they reach the limit the field just trims the length to your limit.
The following is a snippet from what I used when I implemented a tagboard to my site. Further revisions could/should read the LIMIT from the maxlength attribute
The following is a snippet from what I used when I implemented a tagboard to my site. Further revisions could/should read the LIMIT from the maxlength attribute
6
Returns the keycode of the key we wrote on a textarea/input. works on IE and Firefox
6
it give us the position of the mouse. works on IE and Firefox
use:
onclick="posicion_mouse(event)"
use:
onclick="posicion_mouse(event)"
6
A wrapper on top of createElement for getting around IE problems with manipulating the name attribute. Unlike most solutions for this, it tests for which method to use once when the page loads rather than every time an element is created. By Chaos of Lost Souls MUD (a text-based fantasy RPG).
6
This is a very simple navigation.
Tested on: FF, IE6+, Safari
Tested on: FF, IE6+, Safari
6
Return object by type. Revision 2.
6
A Simple Centered Fixed Width Layout
6
Normally in CSS whichever rule is specified last takes precedence. However if you use !important after a command then this CSS command will take precedence regardless of what appears after it.









