Menu
Easy Java Script Code

Java Script to Dynamically Add, Remove, and Change Items in a Select List
This article shows you how to use Java Script to add, remove, and change items in a select list. More ...

Web Site Menus : Which Section Am I In?
Increase usability by highlighting the button of the current section in the navigation bar. This helps the user understand where they are within the structure of your website. In this article you'll learn how to highlight the button of the current section. More ...

Easy Java Script Butterfly Animation
You'll be surprised at how little code it requires and how easy it is to use Java Script along with CSS to create an animation. In this article, I show you how to create a simple butterfly animation. More ...

Code to Fade Between Two different Pictures
You've probably seen websites where a picture fades out, being replaced by another picture that fades in. This effect is called a visual transition and it's easy to do with just a tiny bit of code. More ...

Learn JavaScript Visually
People think JavaScript is hard when trying it out for the first time. This book is for Visual Learners. One page of this visual JavaScript guide can equal one chapter of a conventional book as illustrations can make a world of difference over strictly words on a page. More ...

Submit Forms Without CGI
There are many reasons why you might not want to use CGI forms on your Web site. For example your web site may be on a free host that does not allow custom CGI scripts. You may want to conserve bandwidth on your Web server. Or maybe you just don?t want the hassle of CGI programming. More ...

Calculators for Your Web Site : Body Mass Index
If you have a Web site related to health or dieting, or you just want to provide more useful features on your Web site, you can provide a BMI calculator. This article shows you how to code a Java Script BMI calculator for your Web site. More ...

Code to Drag and Drop an Image Anywhere on a Webpage
HTML5's drag-and-drop standard is designed to let you drag text or data from a textbox or table cell, to another textbox or table cell. But what if you want to drag an image, not to a target element, but to anywhere on a webpage. Then HTML5 drag-and-drop falls short. More ...

Convert Mixed Number to Decimal
Wouldn't it be convenient if the user was allowed to enter mixed numbers into a form rather than having to mentally convert them decimals? This code is designed to accept both decimal and mixed number input. More ...

Code for Java Script Cylinder / Cone Volume Calculator
In this article I'll show you how to use to Java Script to create a cylinder / cone volume calculator. I'll explain everything in detail so that you can learn Java Script and modify the code for your own purposes. 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 ...

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


Learn more at amazon.com

Custom Search