PDA

View Full Version : Random appearance


motokouzi
12-18-2002, 12:51 PM
Hello people!
I'm using 2 variables in order to represent 2 html pages which I want them to appear randomly..and I'm stuck! How am I doing this random thingy???

heeeeeeeeelp

beetle
12-18-2002, 04:40 PM
var rand = Math.ceil(Math.random() * 2);