|
|
|
Home
|
||||||||||
| ||
Three times a week (sometimes more) we add a new script or tutorial to our archives and post them on this page, so you can quickly find out what's new at the JavaScript Source.
If you need any programming assistance, would like to make a request, or would just otherwise like to help others out, please visit our JavaScript Forum. If you would like to submit a script, use our contribute form.
Title: Credit Card Debt Calculator
Contributor: Chris Crenshaw
Contributor URL: http://www.creditcarddebtnegotiation.org/
Description: This script will calculate how long it will take to pay off credit card debt. It will also calculate the total interest that will be paid over that same period.
Title: True Color Darkening and Lightening
Contributor: Joseph Myers
Contributor URL: http://www.codelib.net/
Description: This script will brighten or darken colors, preserving the true color hue. The color's hexadecimal numbers are displayed for further use.
Title: getElementsByClassName - The Ultimate Version
Contributor: Robert Nyman
Contributor URL: http://www.robertnyman.com
Description: This JavaScript function will obtain elements by class name. If you want to apply a certain event to some elements, you can loop through the elements in the page and then apply the event accordingly, assigning them to those elements that have a certain class name.
Title: Text Limit
Contributor: Mr. J
Contributor URL: http://www.huntingground.net
Description: This script will only allow a set number of characters to be entered into a text field and then focus on the next element. Easy to implement.
Title: Using Prototype to Load Javascript Files
Contributor: David Kees
Contributor URL: http://www.magichatdevelopment.com/
Description: This tutorial shows the implementation of the general technique of loading functionality via scripts based on the availability of DOM elements.
Title: Create a Color Palette
Contributor: David Walsh
Contributor URL: http://eriwen.com/css/color-palette-with-css-and-moo/
Description: Have you ever wanted to let others know the color palette that you use on your Web site? Or perhaps you need to figure it out yourself. This small script, along with a copy of MooTools (included), will create a palette of your Web page (images not included) that would please even the likes of Pablo Picasso.
Title: Introduction to the Document Object Model
Contributor: Mike Hall
Date Posted: May 14, 2008
Description:
The Document Object Model, or DOM, is the interface that allows you to programmatically access and manipulate the contents of a Web page. This tutorial is a discussion on the DOM representation of a document and the methods it
provides to access those objects.
Title: Number Formatting
Contributor: Justin Barlow
Contributor URL: http://www.netlobo.com/
Description: These two functions clean up and format numbers quite nicely. One function takes any decimal number, negative or positive, and formats it by adding commas every three digits. The other function strips any non-numeric characters from a string leaving you with a valid decimal number. It considers the minus sign and the period to be numeric and will not strip them unless the minus sign is not at the beginning of the number or there is more than one period. These functions make use of regular expressions to do the heavy lifting.
Title: GetPosition 2
Contributor: Daniel Burnett ("IceMetalPunk")
Contributor URL:
Description: This code returns the position of a given element in a given container, relative to other elements of its type. Very useful for finding position indexes of list items, pictures, form items, and more.
Title: Cookie.isEnabled
Contributor: The JSLab Team, Tavs Dokkedahl
Contributor URL: http://www.jslab.dk/
Description: This function checks whether cookies are enabled in the browser. Returns true on success and false otherwise.
Title: JSONVid: Pure JavaScript Video Player
Contributor: Jacob Seidelin
Date Posted: May 5, 2008
Description:
Jacob Seidelin went on a mission to create a pure JavaScript video player that didn't use Flash. The result: JSONVid.
Title: XMLWriter
Contributor: Ariel Flesler
Contributor URL: http://flesler.blogspot.com/2008/03/xmlwriter-for-javascript.html
Description: This is a JavaScript class, based on .NET's XMLTextWriter. This is not a port, but a reduced and adapted version. It allows you to easily generate XML. The script is heavily commented for complete understanding.
|
Link to Us! |
|
|