String.addCharAt()





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

« Previous 1 2 3 4 5 6 7 8 9  ...  14 15 Next »
3
Date Submitted Thu. Mar. 6th, 2008 3:09 AM
Revision 1
Scripter Fordiman
Tags JavaScript | parse_url | PHP
Comments 0 comments
Simple. It's parse_url, from PHP, implemented in Javascript. Seen a lot of similar ones around the web, but they were all bulky code and none of them took advantage of the RegEx parser in JS.

Applied as a member of the String prototype, so just call as myURL.parseURL(); Will return a named object with naming identical to that of PHP's function.

Additional: if first argument is present, will break the querystring up into name/value pairs, unescaped, and return that instead of the raw querystriing.
2
Date Submitted Mon. Aug. 11th, 2008 11:43 PM
Revision 1
Scripter Fordiman
Tags JavaScript | sqlite | xul
Comments 0 comments
Dead simple interface for structured SQLite access within XUL, using Mozilla's SQLite Storage API.
2
Date Submitted Mon. Aug. 11th, 2008 11:50 PM
Revision 1
Scripter Fordiman
Tags analytics | drop | google | in | JavaScript
Comments 1 comments
Forgive the formality here; this is one of my professional scripts.

Analyte 1.0 (c) 2008 Bryan Elliott
Purpose:
Simplify inclusion of Google Analytics into any site, add GA tracking to non-HTML links, and reduce 'blocking' action of Google Analytics scripts.

Use:


License:
Unlimited license granted to Abacus Studios, Inc. and I-Site, Inc.
All other parties licensed under CC-BY-SA-3.0:

Creative Commons Attribution / Share Alike 3.0 US
Fulltext and synopsis at
http://creativecommons.org/licenses/by-sa/3.0/us/

This license need not appear in minified or otherwise compressed forms
of this script, so long as the script is in active use by a web site or
application, and no other credit is claimed.
3
Date Submitted Tue. Jun. 13th, 2006 3:21 PM
Revision 1
Helper gbarendt
Tags enum | String | VB.NET
Comments 0 comments
Given a string, you can return an Enum value

Originally found at http://codeproject.com/dotnet/EnumTips.asp?df=100&forumid=38264&exp=0&select=797671
12
Date Submitted Tue. Sep. 12th, 2006 1:34 AM
Revision 1
Beginner Headzoo
Tags Array | JavaScript | PHP
Comments 3 comments
Given a PHP array (even a deep nested array), returns a string representation of that array as JavaScript array. Useful when using PHP to output JavaScript.
4
Date Submitted Wed. Nov. 28th, 2007 8:14 AM
Revision 1
Helper HRCerqueira
Tags HTML | JavaScript
Comments 1 comments
This code allows you to set the "opcity" style attribute on a element without affecting it's content.

Just call the function for a specific element or to all elements of a given classname after the document loads.

Examples and advanced usage here...
3
Date Submitted Wed. Nov. 28th, 2007 1:08 PM
Revision 1
Helper HRCerqueira
Tags CSS | DOM | HTML | JavaScript
Comments 1 comments
These are some prototype methods to handle class names in html elements. As you all should know, a html element can have more than one class name.

This is part of my dom handling toolkit. Check it out and use it at will.

Cheers
5
Date Submitted Thu. Nov. 29th, 2007 12:46 PM
Revision 1
Helper HRCerqueira
Tags images | JavaScript | sl
Comments 0 comments
This is a simple fade in / fade out javascript slideshow, search engine friendly with low resource usage.

More info here.

Cheers
0
Date Submitted Tue. Dec. 4th, 2007 10:32 AM
Revision 1
Helper HRCerqueira
Tags JavaScript | Key | Web
Comments 2 comments
A simple, yet powerful (what a cliché) way of resgistering javascript keyboard shortcuts. Register any kind of keyboard shortcuts, and if applicable, override the browser default action.

Example usage and more info here:

Javascript Keyboard Shortcut Manager
11
Date Submitted Thu. Feb. 9th, 2006 2:14 PM
Revision 1
Helper Iain
Tags External | JavaScript | Links
Comments 0 comments
Enhance External Links
« Previous 1 2 3 4 5 6 7 8 9  ...  14 15 Next »