Enhance External Links
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
Return object by type. Revision 2.
7
Just a small snippet I discovered when I was tired writing somearrayname\[i\] I thought there was something like foreach in javascript but couldn't find any so why not make one?
For those foreach(){...} lovers.
Hope it makes your life easier.
For those foreach(){...} lovers.

Hope it makes your life easier.
7
A websafe colour palette generator in JavaScript. Coded this after looking at http://www.bytemycode.com/snippets/snippet/585/ and wanting to do it differently.
It's been refactored so that:
* can pass generateColourPalette an arbitrary array of colour codes and it'll generate a palette.
* it hooks into the page through the external file
* uses an internal stylesheet instead of inline styles
It's been refactored so that:
* can pass generateColourPalette an arbitrary array of colour codes and it'll generate a palette.
* it hooks into the page through the external file
* uses an internal stylesheet instead of inline styles
7
Returns an array with all the objects with certain class. tested on IE 6 and Firefox 2
7
I use this function when passing an array to a function being called from setTimeout();
7
Alternate row coloring using javascript
7
check if a function exists in your code using javascript before calling it.









