Hide and Show Elements by Class or ID





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

« Previous 1 2  ...  7 8 9 10 11 12 13 14 15 Next »
6
Date Submitted Mon. Nov. 6th, 2006 9:22 AM
Revision 1
Scripter Casper42
Tags Class | CSS | Style
Comments 5 comments
This function sets a particular style for an element based on it's class
6
Date Submitted Mon. Nov. 6th, 2006 9:24 AM
Revision 1
Scripter Casper42
Tags CSS | Style
Comments 1 comments
This function will set the style of an element by it's ID
6
Date Submitted Thu. Oct. 26th, 2006 6:59 PM
Revision 1
Helper brendo
Tags forms | JavaScript | message | textarea
Comments 3 comments
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
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)"
6
Date Submitted Wed. Oct. 17th, 2007 2:34 PM
Revision 1
Helper chaos
Tags createElement | IE | JavaScript
Comments 0 comments
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
Date Submitted Wed. Apr. 4th, 2007 9:12 AM
Revision 1
Helper ushi
Tags CSS | Menu | Navigation
Comments 2 comments
This is a very simple navigation.

Tested on: FF, IE6+, Safari
6
Date Submitted Wed. Mar. 7th, 2007 3:48 PM
Revision 1
Beginner stalkerX
Tags DOM | Element | JavaScript
Comments 0 comments
Return object by type. Revision 2.
6
Date Submitted Tue. Oct. 11th, 2005 1:20 PM
Revision 1
Beginner jag5311
Tags Centered | CSS | Fixed
Comments 0 comments
A Simple Centered Fixed Width Layout
6
Date Submitted Mon. Jun. 5th, 2006 8:53 PM
Revision 1
Coder mattrmiller
Tags !important | CSS | IE | Ignore
Comments 1 comments
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.
« Previous 1 2  ...  7 8 9 10 11 12 13 14 15 Next »