ZeroField





ranking Sort Sort   |   date Sort Sort   |   member Sort Sort
Syndication

6
Date Submitted Fri. Jul. 20th, 2007 11:17 PM
Revision 1
Helper lavaramano
Tags DOM | JavaScript | Key | onkeyup
Comments 0 comments
Returns the keycode of the key we wrote on a textarea/input. works on IE and Firefox
6
Date Submitted Fri. Jul. 20th, 2007 11:42 PM
Revision 1
Helper lavaramano
Tags DOM | JavaScript | mouse | onclick | pointer
Comments 1 comments
it give us the position of the mouse. works on IE and Firefox

use:
onclick="posicion_mouse(event)"
10
Date Submitted Fri. Feb. 10th, 2006 7:52 AM
Revision 1
Helper lilleman
Tags Cookie | Handler | JavaScript
Comments 2 comments
Cookie Handle
12
Date Submitted Mon. Oct. 30th, 2006 2:23 PM
Revision 1
Beginner Mattkins
Tags CSS | DHTML | JavaScript
Comments 3 comments
Allows you to hide all elements on an HTML page by their tag name. Extremely handy in getting around the "Windowless Elements" problem in IE, which is a bug that puts certain elements, most commonly select boxes, on top of any other element, no matter what. As you can imagine, this causes real problems with DHTML drop-down menus and such like. This is the simplest and quickest fix I've come up with, I simply set this function to run alongside the drop-down and all of the select tags vanish before a menu drops, then I run the show function when the menu retracts.
11
Date Submitted Sun. Oct. 9th, 2005 8:12 PM
Revision 1
Coder mattrmiller
Tags Cookie | JavaScript | Set
Comments 0 comments
Set a Cookie
13
Date Submitted Sun. Oct. 9th, 2005 8:13 PM
Revision 1
Coder mattrmiller
Tags Cookie | Delete | JavaScript
Comments 0 comments
Delete a Cookie
11
Date Submitted Sun. Oct. 9th, 2005 8:15 PM
Revision 1
Coder mattrmiller
Tags Cookie | Get | JavaScript
Comments 0 comments
Get a Cookie Value
9
Date Submitted Mon. Apr. 3rd, 2006 8:59 AM
Revision 1
Coder mattrmiller
Tags Back | Button | JavaScript
Comments 1 comments
A simple back button in JavaScript.
10
Date Submitted Mon. May. 1st, 2006 8:26 AM
Revision 1
Coder mattrmiller
Tags Focus | Form | JavaScript | Password | Username
Comments 0 comments
This is a correct way to do login form auto-focus, checking to see if either username or password have focus already. This prevents someone from typing a username hitting TAB, then having JavaScript chime in, resetting focus to Username while user is typing in their password. In this case, the password is appended to the username which is in plaintext.
8
Date Submitted Wed. Feb. 21st, 2007 8:53 AM
Revision 1
Beginner mikedowson
Tags CSS | JavaScript
Comments 2 comments
An easy way to hide and show div's using Javascript and CSS.

Basically just a slight variation on this script by Real Gagnon.