onMouseover: Your first Script
Make something happen by surprise. Well, it used to be a surprise, but it is used quite a bit now.
A two-part section on using buttons to make something happen. The buttons can be used in many ways, even as forward and back buttons.
Forward and Back Buttons
Learn how to make forward and back buttons which functions just like the buttons on your browser.
Variables, Functions, Operators, Conditionals
Learn a bunch of operators plus how to use the if/else statement.
Prompt viewers for input, and use the input to write a viewer's name right on your page.
See how to use confirmation boxes to give your viewers a choice on an action. This is handy as a way of asking "Are you sure you want to....?".
See how to use browser detection to determine what type of browsers your visitors are using.
See how to redirect viewers based on the browsers, or how to break frames and/or redirect a viewer to your frames for navigation.
Opening a New Window
Using Link Tags For Scripts
Make things happen with time delays rather than needing a click or a mouseover every time you want to execute a function.
JS Rollovers/Hover Buttons - Part 2 - Part 3 - Part 4
Shorten your code by detecting document objects rather than checking for the browser type.
Change Two Frames at Once
Learn how to change more than one frame at a time.
Beginning With Forms
Make images work like buttons!
The Math Object
The Random Function
Learn how to create random numbers for various uses.
Advanced String Handling - Part 2
Get the Viewer's Screen Resolution
How to get the viewer's screen width and height and use them to help the viewer.
Formatting Numbers for Currency Display
A guest article by George Chiang on how to format numbers for currency display.