|
|
|
e-Newsletters
|
|
|
Search Clipart.com: |
|
|
Latest Additions to The JavaScript Source
Page-Details: Create a Color Palette - 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.
Tutorials: Introduction to the Document Object Model - 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.
Forms: Number Formatting - 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.
Snippets: GetPosition 2 - 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.
Cookies: Cookie.isEnabled - This function checks whether cookies are enabled in the browser. Returns true on success and false otherwise.
More Scripts: We add new scripts and tutorials on a regular basis. Be sure you didn't miss any of the most recent additions.
Attention JavaScript Coders
Want some recognition for your scripts? Submit them to us and they can be featured on JavaScript Source!
Latest Developer Headlines
RIM Ups Ante With Mobile Software Push
Novell Readies Silverlight Clone for Linux
Yahoo Pitches The 'Next Generation of Search'
More on internet.com
DatabaseJournal offers SQL courses
and other database related resources for beginner to expert
developers.
|
|