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 ...
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 ...
Use JavaScript parseInt() and parseFloat() to Convert Strings to Numbers
If the results of a mathematical operation in your script are not what you expected, make sure that you convert any numbers represented as strings to the actual number data type before performing the operation. 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 ...
Code for a Less annoying Popup Window
In previous articles I have stated my opinion that it very discourteous and stupid for Webmasters use advertising popup windows on their Web sites. They get paid $0.01 or less to shove a popup window in your face. 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 ...
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 ...
Easy Fading Text Banner Code
In this article you learn how to create a fading text banner, a fading text banner with several different messages that fade in and out, and a fading image banner with several different image banners that fade in and out. You also learn how to use the document.write method so that you can give a link to others to include your banners in their webpage. 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 lineCap and lineJoin Attributes
The HTML5 canvas element is a webpage container for graphics. You can use JavaScript to draw within the canvas element. In this article to learn how to draw lines with round or square end caps and how to specify that where two lines join the joint should be miter, round or beveled. 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 ...
Including Special Characters in a JavaScript String
In JavaScript you define a string by placing its characters within double quotes. More ...
