New Revised CSS Library Forums Web Tools
FAQs Awards Usage Terms Contact
Categories
Other Sections
Sweet Ads
Compatibility
Bookmark online:

 

FF1+ IE5+ Opr7+

Lottery Picker

Author: Kurt Grigg | Homepage

Note: Last modified Jan 15th, 02 by Dynamic Drive for ability to specify how many numbers to generate, and for each number, the lower/upper bound.

Description: Chuck your superstitions to the side, and put your lottery dreams in this script instead! It allows you to specify how many numbers to randomly generate, and for the numbers themselves, the lower and upperbound (ie: between 1 and 49). Such versatility means you can use the script for any lottery system, or simply as a unique random numbers generator.

Demo:

Result


Directions Developer's View

Step 1: Insert the following into the <head> section of your page:

Select All

Step 2: Add the following code to the <body> section:

Select All

Just remember, if you hit the jackpot as a result of this script, half the winnings goes to us and Kurt!