Menu
Easy Java Script Code

HTML5 and Local Storage
The HTML5 local storage mechanism is a nice replacement for cookies with it you can write up to 5MB of persistent data between multiple pages to a special file on the client computer. More ...

JavaScript Code to Make Image Wave Like a Flag
This article provides JavaScript code and instruction to make an image wave like a flag. More ...

Working With the Keyboard in Java Script
Using Java Script you can determine which keyboard key the user pressed. You can use this information to block certain keys, to replace a key's character, or to perform an action based upon a specific key being pressed. In this article, I'll provide some basic code for working with the keyboard. More ...

Java Script Code for Directory File List
In this article You'll learn how to create a webpage that gives a list of the files in a folder. This example is for use with Internet Explorer Web browser on your local computer. More ...

Basic State Machines
A State Machine is a program, logic circuit, or mechanical device, that has a finite number of legal states. For example a traffic control signal can be red, yellow, or green. It can't be red and green. It can't be violet. More ...

Easy Java Script Code to Fill Array With Random Numbers
The code I present here might not be the fewest lines possible to fill an array With random numbers, but it is the easiest to understand. More ...

Easy Picture Panning Code
In this article, I provide you with code that will pan an image back and forth, as if you where looking at a video. But this code does not require video, just a simple image and a few lines of Java Script code. More ...

Put Commas in Your Java Script Calculators
Writing large numbers with the digits in groups of three make the numbers easier to read. In this article you'll learn how to code calculator applications that will accept the entry of numbers with commas, and return results with commas. More ...

Easy Animated Banners with Java Script
In this article, I will show you how to use Java Script to create an animated banner. Using Java Script allows you to edit or replace images in the animation sequence, and change the amount of time each image is displayed without doing any recompiling. More ...

A Cross-Browser Solution for Handling JavaScript Events
One area of JavaScript that is full of inconsistencies and a source of frustration is working with browser events. In this article we implemet a cross-browser solution for handling events. More ...

A JavaScript Function That Returns a Function
Its a fad now in JavaScript to code functions that return functions in order to avoid declaring global variables but the procedure is inefficient and unnecessary. More ...

Regular Expression Position Matching
In this article you how to use regular expressions to match characters at the beginning, end, both beginning and end, or at any specified location in a string. More ...


Learn more at amazon.com

Custom Search