|
|
![]() |
|||
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: 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/
Date Uploaded: May 12, 2008
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:
Date Uploaded: May 9, 2008
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/
Date Uploaded: May 7, 2008
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
Date Uploaded: May 02, 2008
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! |
|
|
| Sign up for the Javascript Weekly Newsletters! |
[ Contact Us! ]
[ JavaScript Forum ] [ Submit Your Script! ] |
| Access FREE Verio BSD Tools: |
| Solutions | ||||||
|
||||||
|
||||||
|
||||||
|
||||||