Menu
Easy Java Script Code

Easy Expanding Menu Code
Having lots of high quality content isn't enough. Visitors must know that the content is there to be had, and it must be easily accessible. In this article, I provide you with simple, straight forward code that creates an expanding menu. 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 ...

Creating Java Script Dynamic or anonymous Functions at Runtime
In Java Script you can code a function at design time, or you can have Java Script write the function code during execution. A function that is created at runtime is called an anonymous or dynamic function. More ...

Easy Java Script Timer Code
Sometimes you need something to happen after a delay, or you need something to occur repeatedly. This can be accomplished using Java Script timers. My objective in this article is to give you the timer code without surrounding it with a lot of confusing peripheral code so you can quickly use it for your own purposes. More ...

Introduction to HTML5 Canvas
The canvas element is a webpage container for graphics. You can use JavaScript to draw graphics within the canvas element. Learn how to draw lines, rectangles, circles, and curves, code included. 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 ...

Replace Drop-down with Drag-and-drop
From a webpage designers point of view, drop-down lists require a lot of html tags. Wouldn't it be nice if you could just let the user drag-and-drop text into a simple text box. You can! More ...

Easy Code to Sort a Table by Column
A Table is a powerful way to present information. You can make your table even more powerful by giving users the ability to sort it by different columns. In this article, I give you some simple Java Script code that you can use to make almost any table sortable by different columns. More ...

JavaScript to Generate a Random Number Between X and Y
You can use the JavaScript Math object's .random() method to generate a random number between two values, it returns a random floating-point number between 0 and 1 so you'll need to perform additional operations on it to scale it. More ...

Regular Expression Basics : Match a Set of Characters
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 match a set of of characters. More ...

Working With the Keyboard in Java Script
Using Java Script you can determine which keyboard key the user pressed. You can use this information to block certain keys, to replace a key's character, or to perform an action based upon a specific key being pressed. In this article, I'll provide some basic code for working with the keyboard. 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 ...


Learn more at amazon.com

Custom Search