Web Scripts - php scripts, perl scripts, cgi scripts, asp scripts, directory scripts, programming scripts

Scriptsmount a free web scripts directory provides website scripts, webmaster scripts, web directory scripts, directory scripts, php scripts, perl scripts, cgi scripts, html scripts, database scripts, asp.net scripts, form scripts, guestbook scripts for webmasters


  Home  |   Add Resource  |   Modify Resource    


Web Scripts :: JavaScript :: Scripts and Programs :: Randomizing :: Combination


1. Random quotes/images/banners or any thing

A Random Quote on your home page may bring some surprise to newbies. The script given below uses Math.random() function of JavaScript to generate a unique number which lies from 0 to the length of an array which stores the quotes. Then just prints them. Simple enough. Try it.

Hits: 18 Rating: 0.00 Votes: 0    [Detail] [Send URL]


Category:  JavaScript :: Scripts and Programs :: Randomizing :: Combination

2. Unique Random Sets

This JavaScript, based on Unique Random Numbers II, picks Unique Random Sets. Here, there are more than one arrays (need not be of same length). First, we pick a number of unique random elements from the first array, numArr1 to form the array pickArr1. Now each element of pickArr1 picks another element from the second array numArr2, which again is unique and random. Thus we form the array pickArr2. Similarly each element of pickArr2 picks unique random elements from numArr3 to form pickArr3.

Hits: 23 Rating: 0.00 Votes: 0    [Detail] [Send URL]


Category:  JavaScript :: Scripts and Programs :: Randomizing :: Combination

3. Unique Random Numbers

This JavaScript picks up a number of unique random elements from an array. For example; if you have an array myArray consisting of 10 elements and want to pick 5 unique random elements. Suppose initially myArray[3] is picked randomly, then myArray[3] should not be picked again. If you want to pick 4 numbers, call the function like: pickNums(4).

Hits: 55 Rating: 0.00 Votes: 0    [Detail] [Send URL]


Category:  JavaScript :: Scripts and Programs :: Randomizing :: Combination

4. Ace Random Banners

A very simple script to display random banners and links on your web site.

Hits: 17 Rating: 0.00 Votes: 0    [Detail] [Send URL]


Category:  JavaScript :: Scripts and Programs :: Randomizing :: Combination





Web Scripts  |  Add Resource  |   Modify Resource


©2006 All rights reserved. Web Scripts