|
|
|
| Name: | JavaScript.com Latest JavaScripts |
| Description: | JavaScript.com is your gateway to all things JavaScript. Featuring JavaScript tutorials, free scripts, tools, and links and more!
This channel features content from JavaScriptSource.com.
|
| Site URL: | http://www.javascript.com |
| Category: | /Computers/Internet/Web Design and Development/ |
| RSS feed URL: | http://www.javascript.com/jss.rdf |
| Syndic8 ID: | 2239 |
| Language: | en |
|
25 most recent entries:
So-Ticker (Jun 25 2008 00:16 GMT)
This script creates a ticker by parsing existing semantic markup. Easy to set-up.
Add Input Fields (Jun 25 2008 00:16 GMT)
Use this script to upload files. As a file is selected, another input field is automatically added.
Speed Up the Web (Jun 25 2008 00:16 GMT)
This tutorial demonstrates how a Web page can be loaded and redered 10 times faster than normal using Ajax.
JsTetris (Jun 25 2008 00:16 GMT)
A Tetris-clone game. Does not require images. Keeps tracks of high game scores, using a cookie.
Calling an ActionScript Function from JavaScript (Jun 25 2008 00:16 GMT)
This tutorial will show you how to use the FlashProxy JavaScript class to proxy function calls between Flash and JavaScript.
Datejs (Jun 25 2008 00:16 GMT)
An open-source JavaScript date library. This library will simplify and enhance the creation of dates in your scripts.
Quartic Equation Solver (Jun 25 2008 00:16 GMT)
This script can solve quartic equations in the form of ax^4 + bx+3 + cx^2 + dx + e = 0.
JQuery (Jun 25 2008 00:16 GMT)
A fast, concise, JavaScript Library that simplifies how you traverse HTML documents, handle events, perform animations, and add Ajax interactions to your Web pages
Page Glossary (Jun 25 2008 00:16 GMT)
This script collects all of the abbreviations, acronyms, and definitions on a page and builds a definition list of the terms, which is appended to a specified container. The script checks for duplicate terms and also alphabetizes the terms.
Cookie Monsters Inc (Jun 25 2008 00:16 GMT)
One of the most powerful tools available to the Web developer are HTTP cookies. Here's the 411 on how cookies work, complete with public domain JavaScript functions.
Developing a Simple Validation Library in JavaScript (Jun 25 2008 00:16 GMT)
This tutorial teaches some of the most commonly used JavaScript functions for client side validation of HTML forms. You can reuse these scripts to inject into server side controls.
Credit Card Debt Calculator (Jun 25 2008 00:16 GMT)
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.
True Color Darkening and Lightening (Jun 25 2008 00:16 GMT)
This script will brighten or darken colors, preserving the true color hue. The color's hexadecimal numbers are displayed for further use.
getElementsByClassName - The Ultimate Version (Jun 25 2008 00:16 GMT)
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.
Text Limit (Jun 25 2008 00:16 GMT)
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.
Create a Color Palette (May 16 2008 13:39 GMT)
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.
Introduction to the Document Object Model (May 16 2008 13:39 GMT)
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.
Number Formatting (May 16 2008 13:39 GMT)
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.
GetPosition 2 (May 16 2008 13:39 GMT)
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.
Cookie.isEnabled (May 16 2008 13:39 GMT)
This function checks whether cookies are enabled in the browser. Returns true on success and false otherwise.
JSONVid: Pure JavaScript Video Player (May 16 2008 13:39 GMT)
Jacob Seidelin went on a mission to create a pure JavaScript video player that didn't use Flash. The result: JSONVid.
XMLWriter (May 16 2008 13:39 GMT)
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.
HTML Block Scroller & Marquee (May 16 2008 13:39 GMT)
This small script will animate a series of blocks of HTML, scrolling them up, down, left or right dynamically and then pausing before starting the next scroll. The script will also pause on mouseover, and resume scrolling on mouseout. Since it scrolls HTML instead of just images, you can include just about anything that can be ordinarily placed in a static HTML document: links, images, graphics, tables, backgrounds, etc.
Alternate Colors (May 16 2008 13:39 GMT)
Most scripts that provide alternating rows of color are made for tables. This script can be used with any HTML tag, e.g., DIV, P, etc. Very easy to set-up and implement.
Delete Confirmation (May 16 2008 13:39 GMT)
When writing many types of Web applications, there is sometimes a need to let a user delete something. It is generally a good practice, however, to have the user confirm their intentions. One method of doing this is by using a snippet of code to bring up a confirmation message. This snippet can be easily added to an existing or new script or application. |
|