Easy Java Script Code
In this article, I provide you with the code to password protect your website with
MUST be password protected. Updated to add requested new features. More ...
Java Script Message Boxes
Java Script provides three different types of message boxes that allow you to display a short
message to the user, or request a bit of information from the user. If one of these built-in
message boxes don't suit your needs, this article shows you how to create your own custom message box. More ...
Where Did the User Click?
This code creates a webpage with an html div containing the words ONE TWo THREE. A Java Script
function uses the event object's clientX and clientY properties to determine which word the
user clicked on and displays it in a message box. 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 ...
Four Ways to Use Java Script Event Handlers
Almost everything on a webpage is an "object". Almost all objects can respond to an event. You
can control what an object does in response to an event by creating an event handler. In this
article, you'll learn four different ways to connect an event handler to an event. More ...
Easy Java Script Form Validation
You can use forms on your website to get information from the visitor. However a user might make an error,
or forget and entry in a form. Ignorant and malicious users may deliberately enter trash into your form
in an effort to break your application. 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 ...
Slide Show with Different Size Images
In this article, I explain how to code a slide show that can display different size images
without growing and shrinking your web page. I'll explain it in detail so that you can
understand and feel comfortable using the code, then you can cut and paste the code into
your webpage and modify it for your purposes. 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 ...
A rollover is when a user moves the mouse pointer over an image on a Web page the image is replaced with
a new image. The simplest rollover can be created with the html code provided in this article. 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 ...
Play Music on Your HTML5 Web Page
In this article you learn how to play and control music on your webpage including adding
a play list and custom controller. More ...