Menu
Easy Java Script Code

Using the Java Script Array Object
When you want to work with multiple related values, you can use the Array object. The new keyword is required when creating an array of object type data, like an array of string objects. The new keyword is not required when creating an array of simple variable types, like integers. In this article you learn about mutidimensional arrays, and study examples of how to use each Array Object method. More ...

Easy HTML5 Drag and Drop
In this example I show you how to use HTML5 drag-and-drop to make a nice little application that could be used to teach children which classification different animals belong in. This example includes only the minimal code for the application to work. More ...

Regular Expressions Subexpressions
In this article you learned how to use subexpressions to rearrange matches in a regular expression and how to replace the value of a subexpression match in the results. More ...

Code to Add Music to Your Webpage
Some people think it's discourteous and annoying to have music playing on your webpage. But, hey, it is your webpage, and it depends upon your websites audience and purpose as to whether music is appropriate. In this article I show you how easy it is to configure music on your webpage. 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 ...

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

Creating Basic Java Script Functions
In this article you learn how to create basic Java Script functions. You learn how to use parameters and how to return values, including how to return an array from a function. The article also intoduces variable scope. More ...

Round a Float to 4 Digits to the Right of the Decimal Point
On the typical PC, Java Script Math object methods can return floating point numbers with up to 16 digits to the right of the decimal point. For most purposes, this kind of accuracy is not required, nor desired, and that many digits causes nothing but confusion. In this article, You'll learn how to round a floating point number to 4 digits to the right of the decimal point. 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 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 ...

Easy Java Script Animation
There are many ways to create an animation, but the simplest way is to use Java Script along with CSS. In this article, I show you how to create simple Java Script animations. More ...

Calculators For Your Web Site
If you have a Web site where your visitor would find an online calculator very handy, with a little Java Script code you can easily provide a custom calculator right on your Web page. More ...


Learn more at amazon.com

Custom Search