neodjandre
08-21-2002, 02:36 PM
i'd like to change the font of this script to verdana size= 8pt and if possible hide the form box so that the quotes display as simple text .. thnx in advance :) i'm begining to learn more stuff in here
<form name="scriptform"><input name="scriptinput" size=70 style="border-width:1px solid black;font:Arial"> <input type="button" value="Random" onClick="randomdisplay()"></form>
<script>
//Satirical Punch Line Script- by javascriptkit.com (text by Colin Lingle)
//Visit JavaScript Kit (http://javascriptkit.com) for script
//Credit must stay intact for use
quotes = new Array();
quotes[0]="Warning: Dates in Calendar are closer than they appear.";
quotes[1]="Daddy, why doesn't this magnet pick up this floppy disk?"
quotes[2]="Give me ambiguity or give me something else."
quotes[3]="I.R.S.: We've got what it takes to take what you've got!"
function randomdisplay(){
randomquote=quotes[Math.floor(Math.random()*quotes.length)]
document.scriptform.scriptinput.value=randomquote
}
setTimeout("randomdisplay()",100)
</script>
:cool: :cool: :D
<form name="scriptform"><input name="scriptinput" size=70 style="border-width:1px solid black;font:Arial"> <input type="button" value="Random" onClick="randomdisplay()"></form>
<script>
//Satirical Punch Line Script- by javascriptkit.com (text by Colin Lingle)
//Visit JavaScript Kit (http://javascriptkit.com) for script
//Credit must stay intact for use
quotes = new Array();
quotes[0]="Warning: Dates in Calendar are closer than they appear.";
quotes[1]="Daddy, why doesn't this magnet pick up this floppy disk?"
quotes[2]="Give me ambiguity or give me something else."
quotes[3]="I.R.S.: We've got what it takes to take what you've got!"
function randomdisplay(){
randomquote=quotes[Math.floor(Math.random()*quotes.length)]
document.scriptform.scriptinput.value=randomquote
}
setTimeout("randomdisplay()",100)
</script>
:cool: :cool: :D