JavaScript Code to Display Wait Cursor While Image Loads
If you have to load a large image or change a large image after the page has loaded you may want to change the mouse pointer to a wait cursor during the image loading time. More ...
Password Protection Using the JavaScript Cookie Method
You can password protect a webpage or your entire website with some very simple JavaScript. In this article, I provide you with the code to password protect your website with JavaScript using cookies. This method should NOT be used for anything that absolutely MUST be password protected. Updated to add requested new features. 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 ...
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 ...
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 ...
Object-Oriented JavaScript
Once listed as nice to have, these days knowledge of JavaScript is a deciding factor when it comes to hiring web developers. This book treats JavaScript as a serious object-oriented language, showing you how to build robust, maintainable, and powerful libraries and applications. Read this book if you want to be able to take your JavaScript skills to a new level of sophistication. More ...
Calculators For Your Web Site : Length Units Converter
In this article, I provide you with Java Script code for a Length Units Converter. For example, your visitor can enter a length in English feet and it will be converted to a length in metric meters. I keep the code as simple as possible. More ...
Let Your Web site Visitors Set Font Size
In this article, you'll learn that it requires only a few lines of Java Script to let the visitors to your Web site control the font size. You'll also learn how to use a cookie to store their preference on their computer. More ...
Java Script Math Object Trigonometric Methods
This article describes the Java Script Math object .sin, .cos, and .tan methods along with how to convert degrees to radians and how to set the number of digits to the right of the decimal point. 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 ...
Regular Expressions Boundaries
In this article you learn how to controls where a regular expression matches a string, on a word or non-word boundary, at the beginning or end of a string. You also learned about multiline mode. More ...
Using a Select List for Navigation
An HTML Select list is a form control used to create a drop-down list of items from which the user can select. You can use a select list as a navigation element by setting each option element's value attribute to the URL of a web site or web page. More ...