Dufman

Golden Member
Dec 29, 2002
1,949
0
0
With out the slightest idea of how to do java, i just made a random number generator to display a quote on my background :D

w00t
 

Dufman

Golden Member
Dec 29, 2002
1,949
0
0
Originally posted by: AgaBooga
So it displays a random number or random quote? Pics?

Here is a sample
the array is defined before the quotes. and then the quotes are listed.


quotes[30]='To hell with circumstances; I create opportunities. <i>-Bruce Lee</i>'

var randomnumber=Math.floor(Math.random()*31)

function writeTip() {
document.write(quotes[randomnumber]);
}
 

zimu

Diamond Member
Jun 15, 2001
6,209
0
0
w00t for me too:
my hard drive crashed (had been making clicking sounds since ysterday, lucky got a backup done before the drive fried itself this morning)- called dell, they sent me a new drive, got it this afternoon!!

my original was a 30 GB 4700 RPM drive, they sent me a 40 gig 5400 rpm! yay! (laptop)
 

Dufman

Golden Member
Dec 29, 2002
1,949
0
0
Originally posted by: zimu
w00t for me too:
my hard drive crashed (had been making clicking sounds since ysterday, lucky got a backup done before the drive fried itself this morning)- called dell, they sent me a new drive, got it this afternoon!!

my original was a 30 GB 4700 RPM drive, they sent me a 40 gig 5400 rpm! yay! (laptop)

they did the same thing for me when i had the desktop
30gig for a 40gig...both 5400 though
 

zimu

Diamond Member
Jun 15, 2001
6,209
0
0
Originally posted by: Dufman
Originally posted by: zimu
w00t for me too:
my hard drive crashed (had been making clicking sounds since ysterday, lucky got a backup done before the drive fried itself this morning)- called dell, they sent me a new drive, got it this afternoon!!

my original was a 30 GB 4700 RPM drive, they sent me a 40 gig 5400 rpm! yay! (laptop)

they did the same thing for me when i had the desktop
30gig for a 40gig...both 5400 though

i can't even begin to tell you the upgrades that dell has given me thru in-warranty repairs!!
 

emmpee

Golden Member
Nov 26, 2001
1,100
0
0
Originally posted by: dighn
it's called javascript

the original poster doesn't even have the slightest idea what the language is called!

it just makes it even more of a success story.
 

Dufman

Golden Member
Dec 29, 2002
1,949
0
0
Originally posted by: emmpee
Originally posted by: dighn
it's called javascript

the original poster doesn't even have the slightest idea what the language is called!

it just makes it even more of a success story.

i think so too
but i know C++
its an easy carry over