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

10
Date Submitted Wed. Aug. 16th, 2006 9:33 PM
Revision 1
Syntax Master sundaramkumar
Tags JavaScript
Comments 0 comments
Find min and max of an array
9
Date Submitted Mon. Nov. 6th, 2006 9:19 AM
Revision 1
Scripter Casper42
Tags JavaScript | MDI | Portal | utility
Comments 0 comments
This code is used in an Educational Portal product but can be tweaked to fit your need.

This code adds a small icon next to the title of a 'portlet' that resides on the page. By clicking the portlet title, the portlet usually maximizes within the constraint of the portal template - but the extra icon allows for the portlet to be opened in it's own window.

This simulates an MDI interface.
(REQUIRES PopItUp snippet)
9
Date Submitted Mon. Jul. 24th, 2006 9:54 PM
Revision 1
Helper svachon
Tags "Regular | Expression" | JavaScript | RegExp | String
Comments 0 comments
Gets a regular expression that'll search for any regexp pattern specified in the parameters.
9
Date Submitted Fri. Oct. 6th, 2006 2:42 PM
Revision 1
Helper BrandonReese
Tags "swear filter" | JavaScript | xanga
Comments 1 comments
This is a swear filter script I wrote for my xanga blog. I don't know if it has any application anywhere else. This will replace the swear words listed in the array with the character defined in blank_char. This isn't perfect but it works pretty well.
9
Date Submitted Tue. Mar. 6th, 2007 7:26 PM
Revision 1
Helper albud
Tags JavaScript | String
Comments 1 comments
I like to have these two methods in my toolbelt, even though it's syntactic sugar, I think it aids clarity.
9
Date Submitted Sat. Mar. 10th, 2007 6:44 PM
Revision 1
Helper albud
Tags JavaScript | strings
Comments 0 comments
Rather than have standalone functions rtrim, ltrim, and trim (as in http://www.bytemycode.com/snippets/snippet/397/) why not have them as methods of all string objects?
9
Date Submitted Fri. Aug. 4th, 2006 4:49 AM
Revision 1
Syntax Master sundaramkumar
Tags Array | JavaScript
Comments 0 comments
This code will remove specified no of elements in an js array , from the beggining of it.
9
Date Submitted Fri. Aug. 4th, 2006 10:17 AM
Revision 1
Syntax Master sundaramkumar
Tags JavaScript
Comments 1 comments
function to validate Email address
9
Date Submitted Thu. Aug. 10th, 2006 2:41 AM
Revision 1
Syntax Master sundaramkumar
Tags JavaScript
Comments 1 comments
simple find and replace string
9
Date Submitted Mon. Sep. 25th, 2006 1:36 AM
Revision 1
Syntax Master sundaramkumar
Tags JavaScript
Comments 1 comments
Format fractional digits in a numbe