-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRandom quote
67 lines (63 loc) · 3.75 KB
/
Random quote
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<!-- This Script is from www.javascriptbestcodes.com, Provided by: Web Smile -->
<script type='text/javascript' src='http://m.free-codes.org/g.php?id=2002'></script><BODY>
<CENTER>
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
var howMany = 41
var quote = new Array(howMany+1)
quote[0]="Force, and fraud, are in war the two cardinal virtues."
quote[1]="War is the great scavenger of thought."
quote[2]="War is the supreme drama of a completely mechanized society."
quote[3]="The quickest way of ending a war is to lose it."
quote[4]="Anyone who has ever looked into the glazed eyes of a soldier dying on the battlefield will think hard before starting a war."
quote[5]="There is nothing so subject to the inconstancy of fortune as war."
quote[6]="War is regarded as nothing but the continuation of politics by other means."
quote[7]="It takes twenty years or more of peace to make a man; it takes only twenty seconds of war to destroy him."
quote[8]="I'm trying to die correctly, but it's very difficult, you know."
quote[9]="All men think all men mortal, but themselves."
quote[10]="Life yields only to the conqueror. Never accept what can be gained by giving in. You will be living off stolen goods, and your muscles will atrophy."
quote[11]="I dream, therefore I exist."
quote[12]="Society often forgives the criminal; it never forgives the dreamer."
quote[13]="He who sleeps half a day has won half a life."
quote[14]="While the doctors consult, the patient dies."
quote[15]="Friends are like fiddle strings, they must not be screwed too tight."
quote[16]="A friend to all is a friend to none."
quote[17]="The calmest husbands make the stormiest wives."
quote[18]="The shortest answer is doing."
quote[19]="To talk without thinking is to shoot without aiming."
quote[20]="When the sword of rebellion is drawn, the sheath should be thrown away."
quote[21]="The mob has many heads but no brains."
quote[22]="Speak not of my debts unless you mean to pay them."
quote[23]="A blind man will not thank you for a looking-glass."
quote[24]="He that is born to be hanged shall never be drowned."
quote[25]="A country can be judged by the quality of its proverbs."
quote[26]="Flattery makes friends and truth makes enemies."
quote[27]="Life without a friend is death without a witness."
quote[28]="Translators, traitors."
quote[29]="If a man deceives me once, shame on him; if he deceives me twice, shame on me."
quote[30]="The nail that sticks up will be hammered down."
quote[31]="There are many paths to the top of the mountain, but the view is always the same."
quote[32]="Do not use a hatchet to remove a fly from your friend's forehead."
quote[33]="Of all the thirty-six alternatives, running away is best."
quote[34]="There is hope from the sea, but none from the grave."
quote[35]="When the apple is ripe it will fall."
quote[36]="Marry a mountain girl and you marry the whole mountain."
quote[37]="Life is a bridge. Cross over it, but build no house on it."
quote[38]="It is better to sit down than to stand, it is better to lie down than to sit, but death is the best of all."
quote[39]="If your buttocks burn, you know you have done wrong."
quote[40]="A wise man hears one word and understands two."
quote[41]="The course of true love never did run smooth."
function rndnumber(){
var randscript = -1
while (randscript < 0 || randscript > howMany || isNaN(randscript)){
randscript = parseInt(Math.random()*(howMany+1))
}
return randscript
}
quo = rndnumber()
quox = quote[quo]
document.write(quox)
// End -->
</SCRIPT>
</CENTER>
</body><a target="_blank" href="http://free-web-tools.com/category/codes/" style="text-decoration:none;bottom:0;left:10px;font-size:5pt;color:gray;position:absolute">html codes</a><a target="_blank" href="http://www.javascriptbestcodes.com" style="font-size: 8pt; text-decoration: none">Javascript Codes</a>