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 ...
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 Basics : How many Matches?
A Regular Expression (regex) is a sequence of characters that define a pattern that allows you to search, match, locate, replace, manipulate, and manage text. In this article you'll learn how to use regular expressions to count the number of matches. More ...
Easy Code to Add Mouse Trails to Your Webpage
Mouse trails cause the mouse pointer to be followed by a trail of small images when the user moves it. This makes it easier for the user to locate the mouse pointer on the screen. In this article, I give you Java Script code that will cause mouse trails on your webpage. 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 ...
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 ...
Password Protection Using the Frames Method
One method of password protecting your webpages is to use a cookie, but cookies are unreliable. If you can't trust a cookie to store the information that the user is logged in, where can you store it? In this example I'll show you how to use frames for JavaScript password security. More ...
A Brief Introduction to HTML for JavaScript Programmers
Although JavaScript is a neat programming language, the basic foundation of the web is HTML. JavaScript gives you the ability to control and modify the HTML. More ...
Play Music on Your HTML5 Web Page
In this article you learn how to play and control music on your webpage including adding a play list and custom controller. More ...
Easy JavaScript Picture Selector Code
Suppose you want to create a digital photo album to display a group of pictures, but you don't want the page to be too large. One solution would be to display only one full size picture, and the other pictures as small thumbnail images. More ...
Java Script Comparison Operators
A comparison operator compares two values and returns the result "true" or "false". For comparing numeric values the operators perform the same as they do in algebra. For comparing character strings each character in the strings are converted to their ASCII values and then a numeric comparison is made. More ...
Calendars for Your Website
I'll start by showing you how to code a basic calendar that shows the current month with the current day highlighted. Then, how to code a webpage that can display several months simultaneously, and finally, a clickable appointments calendar. More ...
