Easy Java Script Code
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 ...
HTML5 brings us web storage, providing methods to store keyword/value data pairs in the user's browser. This example gives you
Java Script Code to Move Items Between Select Lists
In this article you'll learn how to use Java Script to move items from one select list to a
second select list. I'll explain the code in detail so that you'll be able to fully
understand and modify it for your own use. 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 ...
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 ...
language, showing you how to build robust, maintainable, and powerful libraries and
to a new level of sophistication. More ...
Easy Slide Show Code
One of the problems with creating such a slide show is that the images should all be the same size.
If the images are not all the same size, your web page may grow and shrink as the different images
are displayed. 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 ...
providing users with a rich and memorable Web experience. This unique book-and-DVD
package prepares you for the new generation of Web browser changes that are
component of those changes. 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 ...
Sams Teach Yourself HTML5 in 10 Minutes
One important part of the new HTML5 specification is the new date-time picker control. In this book
you create a webform that uses the new date-time picker control, and you'll also create a small PHP
server-side program that displays the value you entered into the date-time picker control when you
click the Submit button to show how you can extract data from the control on the server. More ...
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 ...