General · Newest Javascript Tutorials
Elapsed Time Calculator
This script computes and displays the elapsed time between "Start" and "Finish" button clicks.
General »
Dice Poker Game
Click [ROLL] to roll five dice. You win points by getting special combinations of dice, such as four of a kind, etc. Dice are shown but no image files are used! Changeable colors as well! IE only.
General »
Knight Game
This logic game is simple and fun to play. Simply move the knight in legal knight chess moves to every square on the board in as few moves as possible.
General »
Hanoi Solver
Solves the Towers of Hanoi game in the shortest number of moves, demo included. The delay between moves and the number of rings can be adjusted by the user. Clever!
General »
Striped tables using JavaScript
JavaScript can be incredibly useful when you need to automate repetitive tasks. In this article we'll implement a simple JavaScript function that will apply alternate striped rows to a table.
General »
Coin Flipper
When you do not have a coin, use this quick and easy virtual coin-flipping script. Sweet!
General »
No Right Click
(4.0+ browsers) Ever wanted to prevent users from "borrowing" images from your site through right-clicking them and "save image as..." or right-clicking the page and viewing your page source? This script will (attempt to) disable the right click on your page! As explained, however, this script is not fool-proof !!
General »
Must Visit From....
If other sites links directly the sub-pages of your site or if previous required pages are being skipped, you can now require your visitors to come from a certain page! Those that did not come from the required page are alerted then send back to the required previous page. Clever!
General »
Understanding dense arrays
A dense array allows programmers to efficiently declare an array when the initial values of the array is known beforehand.
General »
Airport Calculator
This useful JavaScript calculator will tell you the degrees, Nautical Miles, Statute Miles, and Kilometers between your originating and destination airports. It's got a built-in database of over 150 of the most traveled airports! Very neat! I've given a copy to everyone I know who fly often.
General »
Default Status Message
Here's a neat way to put a message in the status bar on your page. It will stay there as the default message! Neat!
General »
Layer Scroller
Provides controls to scroll the layer at varying speeds. Can be used with your own graphics and layout to creatively present your content
General »
Frameless Peeker Popup
Launches a type of window ad servers call a "peeker" popup, which slowly rises into view from the bottom of the screen. This is a frameless popup window without the Windows frame or titlebar. Frameless in IE 4+ only.
General »










