Menu
Easy Java Script Code

Easy Java Script Windows
This article gives you the basics of designing, opening, and closing browser windows using Java Script. In future articles, I will show you how to do all kinds of annoying things with windows using Java Script. More ...

Regular Expression: Alternation
In this article you learn how to create an alternation regular expression that will match alternate patterns in a string. 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 ...

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

Easy Rollovers
A rollover is when a user moves the mouse pointer over an image on a Web page the image is replaced with a new image. The simplest rollover can be created with the html code provided in this article. 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 ...

JavaScript to Copy and Paste Text to the Clipboard
In some applications, rather than the user's selection, you may want to copy the contents of a specific html element to the clip board. Or when the user initiates a Paste, you may want to direct the contents of the user's clipboard to a specific html element on the webpage. Here is the code for this. 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 ...

Sams Teach Yourself HTML5 in 10 Minutes
One important part of the new HTML5 specification is the new date-time picker control. In this book you create a webform that uses the new date-time picker control, and you'll also create a small PHP server-side program that displays the value you entered into the date-time picker control when you click the Submit button to show how you can extract data from the control on the server. More ...

Easy Moving Popup Code
You have probably come across a webpage where a small window appears at the side of the webpage and drifts to the center of the webpage. They are commonly used to present you with a form where you can enter your email address to subscribe to a newsletter. In this article I give you the code to create this type of moving popup window. More ...

Calculators for Your Website : Decimal to Hexidecimal Converter
It's not easy for most people to convert between decimal and hexadecimal in their head. In this article, I will provide you with Java Script code for a Decimal to Hexidecimal / Hexidecimal to Decimal Converter. More ...

Convert Mixed Number to Decimal
Wouldn't it be convenient if the user was allowed to enter mixed numbers into a form rather than having to mentally convert them decimals? This code is designed to accept both decimal and mixed number input. More ...


Learn more at amazon.com

Custom Search