Menu
Easy Java Script Code

Easy Expanding Banner Code
Instead of using "in your face" skyscraper or double-wide banners, you can make a standard banner that expands to show more information. In this article, I provide you with easy code to create several different kinds of expanding banners. More ...

Display a Value in Currency Format
To display a value in currency format we first round the value to the required number of decimal places, then determine if we need to add trailing zeros. More ...

Code to Block the Ad Blockers
I don't believe webmasters should have to work for free, and viewing a few banners is a very low cost for information that webmasters worked hard to research and prepare. In this article I provide code to boot ad blocker users off your Web site. More ...

JavaScript to Set Checkbox to Readonly
The HTML checkbox element does not have a readonly attribute. This example provides a very simple work around that might help you solve the checkbox readonly problem in your own application. More ...

Regular Expressions Intervals
Regular expression intervals tell us about the number of occurrences of a character in a string. Curly braces are used to define a precise count of how many occurrences you are checking for. More ...

Calculators for Your Website : Fahrenheit to Celsius Converter
In this article, I provide you with Java Script code for a Decimal to Fahrenheit to Celsius / Celsius to Fahrenheit Converter. I'll explain the code in detail so that you can have confidence modifying it for use on your website. More ...

How to Place Image on HTML5 Canvas
The canvas element is a webpage container for graphics. You can use JavaScript to draw graphics within the canvas element. In this article to learn how to place an image on a canvas with example code. More ...

HTML5 Canvas Drag-and-Drop
The HTML5 canvas element creates a sketchpad area on a webpage where you can use JavaScript to draw 2D shapes, graphics, animations, render bitmap images, and even create online presentations and build dynamic browser games. In this article you'll learn how to use drag-and-drop in your canvas projects. More ...

Binary Subtraction with Example JavaScript Code
The first step in a binary subtraction is to replace the subtrahend with its 2's complement. But many people do this wrong because they don't understand the importance of magnitude. More ...

JavaScript Code to Add or Remove Specific Elements of an Array
Arrays are very useful in programming because they can be used like a data base. In this article you learn JavaScript with code examples to add or remove specific elements of an array. More ...

Prototype Keyword Gives JavaScript Object Oriented Inheritance
The way JavaScript supports inheritance is not like true object oriented languages like C+. In JavaScript, the prototype keyword allows an object to inherit the properties and methods of another object. 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 ...


Learn more at amazon.com

Custom Search