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 ...

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 ...

How to Use HTML5 canvas arc and arcTo Functions
This article describes how to draw arcs using the canvas arc and arcTo functions with example code and an explanation of radians. 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 ...

Easy Code for Date Count Down
One of the most powerful incentives for people to make a purchase is scarcity, and one of the most popular ways to create scarcity is have a "limited time" offer. Web pages that present a limited time offer always have a count down timer to let you know how much time is left. More ...

JavaScript Cookbook
JavaScript Cookbook is chock-full of code recipes that address common programming tasks, as well as techniques for building web apps that work in any browser. Just copy and paste the code samples into your project. More ...

Easy Slide Show Code with Mouseover Pause
This article provides easy-to-use cut-and paste code for a Web page slide show, except this example has the extra feature that when the visitor moves their mouse pointer over the image, the slide show image will not change again until they move their mouse pointer off the image. More ...

Java Script Code for a Random Circle Generator
Have you seen some Web content that uses a group of several different size and color circles as a decoration? In this article I'll show you how to use a bit of Java Script code to draw a group of random size and color circles. More ...

Java Script Code to Calculate Speed / Distance of Falling Object
In this article you learn how to use Java Script to perform gravity calculations, elapsed time, distance traveled, instantaneous velocity, how to use the onchange event, how to use radio buttons, and much more. More ...

HTML5 Canvas Storing and Clearing Transformations
With HTML5 Canvas, it's possible to save the current transformation, do some drawing and transforming, and then restore the old transformation. 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 ...

Make Your Own Graphical Digital Clock
One of the most fun, interesting, and educational things you can do with Java Script is to make your own image-based digital clock. The fun part is selecting or creating your own images for the digits and other graphical elements of the clock. You can use 3D digits, digits that look like baby blocks, or digits made out of animals. More ...


Learn more at amazon.com

Custom Search