Menu
Easy Java Script Code

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

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

Round a Float to 4 Digits to the Right of the Decimal Point
On the typical PC, Java Script Math object methods can return floating point numbers with up to 16 digits to the right of the decimal point. For most purposes, this kind of accuracy is not required, nor desired, and that many digits causes nothing but confusion. In this article, You'll learn how to round a floating point number to 4 digits to the right of the decimal point. More ...

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

Java Script Code for Directory File List
In this article You'll learn how to create a webpage that gives a list of the files in a folder. This example is for use with Internet Explorer Web browser on your local computer. More ...

Easy Java Script Code for Sideways Slide show
Sideways sliding slide shows are very popular on the Web, especially with companies that want to display their products or feature various aspects of their business. It's not difficult to program a sideways slide show, and in this article I show you how to create one with some basic Java Script. More ...

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

Using the Java Script Date Object
When you want to work with a date in Java Script, you need to use the Date object. In this article, you learn how to create a Date object for today, or for any date in the past or future. You learn how to find the difference between two dates, and how to format a date string any way that you desire. You also learn how to validate a date string returned from a text box in a form, which involved an introduction to JavaScript regular expressions. More ...

Debugging JavaScript : Coercions
JavaScript is not a tightly typed language. Sometimes this comes in handy, but other times it can cause problems. More ...

Using the Java Script Array Object
When you want to work with multiple related values, you can use the Array object. The new keyword is required when creating an array of object type data, like an array of string objects. The new keyword is not required when creating an array of simple variable types, like integers. In this article you learn about mutidimensional arrays, and study examples of how to use each Array Object method. More ...

JavaScript Variable Scope
Understanding variable scope is very important, because if you don't use scope properly, you could end up with unexpected results and a very confusing bug. The scope of a variable refers to the parts of the code from which it's visible. More ...

Introduction to JavaScript Programming
JavaScript is a wonderful little programming language. It's a client-side, meaning it runs right on your local computer, not on the web server, and it's a scripting language meaning it's run by an interpreter. More ...