ZeroField





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

« Previous 1 2 3 4 5 6 7 8 9  ...  11 12 Next »
15
Date Submitted Fri. Aug. 4th, 2006 10:03 AM
Revision 1
Syntax Master sundaramkumar
Tags firefox | JavaScript
Comments 0 comments
List all plugins installed in FF
15
Date Submitted Fri. Aug. 18th, 2006 6:48 AM
Revision 1
Syntax Master sundaramkumar
Tags CSS | JavaScript
Comments 3 comments
Get computed Height of an HTML Element
14
Date Submitted Sun. Jan. 28th, 2007 1:18 PM
Revision 1
Scripter Fordiman
Tags JavaScript | json | sort
Comments 0 comments
Flexible sorting algorithm based on Quicksort with extra functionality, such as:
- Direction (ie: ascending or descending)
- Sort-by-path (eg: item.name, item.name.firstName or item[5])
- Sorting function (returns true if two items are already sorted)
- Type checking
- All constants and support functions are members of the Sort() function
- Testsuite with hooks for cscript and in-browser javascript, so you can tweak and optimize, and make sure it still works
- Environment agnostic (can use with, say, SpiderMonkey or .Net's jsc)
14
Date Submitted Mon. Jul. 24th, 2006 10:20 PM
Revision 1
Helper svachon
Tags CSS | DOM | JavaScript
Comments 2 comments
Here's a library to manage CSS class names on DOM elements.
14
Date Submitted Thu. Mar. 1st, 2007 2:09 PM
Revision 1
Helper ushi
Tags ajax | Chat | JavaScript | PHP
Comments 3 comments
Simple chatting script to be placed on a corner of a website
Also a good example how to use ajax.
14
Date Submitted Fri. Jul. 28th, 2006 1:10 AM
Revision 1
Beginner delook
Tags Form | HTML | JavaScript
Comments 2 comments
Set a word or phrase in an input field, clear it onfocus
13
Date Submitted Mon. Oct. 2nd, 2006 1:05 PM
Revision 1
Beginner drench
Tags Array | JavaScript | List | Random | shuffle
Comments 3 comments
It works with Array types. The example is a simple list of numbers, but the array could contain anything; lists of strings, functions, DOM nodes, whatever. Unfortunately, a lot of things that seem like arrays in the DOM aren't really, so you can't shuffle the images on a page with just document.images.shuffle() all by itself.
13
Date Submitted Sun. Oct. 9th, 2005 8:13 PM
Revision 1
Coder mattrmiller
Tags Cookie | Delete | JavaScript
Comments 0 comments
Delete a Cookie
13
Date Submitted Mon. Sep. 25th, 2006 2:22 AM
Revision 1
Syntax Master sundaramkumar
Tags JavaScript
Comments 1 comments
Trim , Left trim (ltrim) and Right Trim (rtrim) in javascript
12
Date Submitted Wed. Nov. 15th, 2006 7:29 AM
Revision 1
Scripter Casper42
Tags JavaScript
Comments 2 comments
I found this to be a neat little trick for hiding(somewhat) source javacscript code from peering eyes...

This function will unload all linked javascript files so that when you view source - you see no javascript files! (Especially helpful when using FF and using web-developer tools - no linked js files are displayed) The files remain resident in memory - allowing for the functions to work.

Just call the function in the tag
« Previous 1 2 3 4 5 6 7 8 9  ...  11 12 Next »