Novahq.net Forum

Novahq.net Forum (https://novahq.net/forum/index.php)
-   Humor & Jokes (https://novahq.net/forum/forumdisplay.php?f=31)
-   -   BORED? (https://novahq.net/forum/showthread.php?t=602)

orb 12-06-2001 11:09 AM

BORED?
 
<html>
<head>
<SCRIPT LANGUAGE="JavaScript">

<!-- Begin
var total = 0
var play = false
function display(element) {
var now = new Date()
if (!play) {
play = true
startTime = now.getTime()}
if (now.getTime() - startTime > 20000) {
element.checked = !element.checked
return
}
if (element.checked)
total++
else
total--
element.form.num.value = total
}
function restart(form) {
total = 0
play = false
for (var i = 1; i <= 100; ++i) {
form.elements[i].checked = false
}
}
// End -->
</SCRIPT>

</head>

<BODY BGCOLOR= gold vlink=#0000ff>

<CENTER>Test your skill. How many boxes can
you check in 20 seconds?</CENTER><br>
<p>Just in case ur bored</p>
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
document.write("<FORM><CENTER>")
document.write('<INPUT TYPE="text" VALUE="0" ');
document.write('NAME="num" SIZE=10 onFocus="this.blur()"><BR>')
document.write("<HR SIZE=1 WIDTH=40%>")
for (var i = 0; i < 10; ++i) {
for (var j = 0; j < 10; ++j) {
document.write('<INPUT TYPE="checkbox" ');
document.write('onClick="display(this)">')}
document.write("<BR>")}
document.write("<HR SIZE=1 WIDTH=40%>")
document.write('<INPUT TYPE="button" VALUE="restart" ');
document.write('onClick="restart(this.form)">')
document.write("</CENTER></FORM>")
// End -->
</SCRIPT>
</body>
</html>

orb 12-06-2001 11:29 AM

ok that never worked
 
<html>
<head>
<SCRIPT LANGUAGE="JavaScript">

<!-- Begin
var total = 0
var play = false
function display(element) {
var now = new Date()
if (!play) {
play = true
startTime = now.getTime()}
if (now.getTime() - startTime > 20000) {
element.checked = !element.checked
return
}
if (element.checked)
total++
else
total--
element.form.num.value = total
}
function restart(form) {
total = 0
play = false
for (var i = 1; i <= 100; ++i) {
form.elements[i].checked = false
}
}
// End -->
</SCRIPT>

</head>

<BODY BGCOLOR= gold vlink=#0000ff>

<CENTER>Test your skill. How many boxes can
you check in 20 seconds?</CENTER>
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
document.write("<FORM><CENTER>")
document.write('<INPUT TYPE="text" VALUE="0" ');
document.write('NAME="num" SIZE=10 onFocus="this.blur()"><BR>')
document.write("<HR SIZE=1 WIDTH=40%>")
for (var i = 0; i < 10; ++i) {
for (var j = 0; j < 10; ++j) {
document.write('<INPUT TYPE="checkbox" ');
document.write('onClick="display(this)">')}
document.write("<BR>")}
document.write("<HR SIZE=1 WIDTH=40%>")
document.write('<INPUT TYPE="button" VALUE="restart" ');
document.write('onClick="restart(this.form)">')
document.write("</CENTER></FORM>")
// End -->
</SCRIPT>
</body>
</html>

orb 12-06-2001 11:30 AM

oh stuff it
 
k it dont work:(
just take dis thread down panther

Steve 12-06-2001 12:52 PM

i thinks its quite funny m8.

and we are in the humour section so i say keep it:D

zza1pqx 12-08-2001 11:29 PM

Try again orb but this time put &lt;/font> at the very start of your post and the &lt;font color="red"> at the very end.

That ensures that the active tags are stopped and restarted so any html or scripting you do in the post is not conflicted.

orb 12-10-2001 02:08 PM

its a java script
 
Quote:

Originally posted by zza1pqx
Try again orb but this time put &lt;/font> at the very start of your post and the &lt;font color="red"> at the very end.

That ensures that the active tags are stopped and restarted so any html or scripting you do in the post is not conflicted.

its a javascript so ill post a link l8er on. God damn homework :(

zza1pqx 12-17-2001 12:04 AM

Yes I know its a java script but you would have to put in this a tag such as &lt;script = "javascript"> which is a HTML command telling a browser to utilise javascript.

There fore if you do what I told you it should work, unless it has an onload object then it might not, depend what panthers got hidden away here.

zza1pqx 12-17-2001 12:12 AM

</font><SCRIPT LANGUAGE="JavaScript"><!-- Begin var total = 0 var play = false function display(element) { var now = new Date() if (!play) {play = true
startTime = now.getTime()}if (now.getTime() - startTime > 20000) {element.checked = !element.checked return}if (element.checked)total++ else total-- element.form.num.value = total} function restart(form) {total = 0play = falsefor (var i = 1; i <= 100; ++i) {form.elements[i].checked = false}}// End --></SCRIPT>
<SCRIPT LANGUAGE="JavaScript"><!-- Begindocument.write("<FORM><CENTER>")document.writ e('<INPUT TYPE="text" VALUE="0" ');document.write('NAME="num" SIZE=10 onFocus="this.blur()"><BR>')document.write("<HR SIZE=1 WIDTH=40%>")for (var i = 0; i < 10; ++i) {for (var j = 0; j < 10; ++j) {document.write('<INPUT TYPE="checkbox" ');document.write('onClick="display(this)">')}docu ment.write("<BR>")}document.write("<HR SIZE=1 WIDTH=40%>")document.write('<INPUT TYPE="button" VALUE="restart" ');document.write('onClick="restart(this.form)">') document.write("</CENTER></FORM>")// End --></SCRIPT>

See if this works, its a faf buit...
<font color="red">

orb 12-17-2001 01:18 PM

just click ere
 
go to this http://www.geocities.com/sk8er_coco/check.html to play the crappy little game. u c i am just startin to learn html and that so i suck. not even my javascript :)

STEALTH 12-17-2001 02:54 PM

My 3rd time i got a 56

die_4_me 12-17-2001 03:00 PM

w00t!!

i beat stealth 2nd time i got a 68

STEALTH 12-17-2001 03:03 PM

You r soooo nimble..... LOL

Steve 12-17-2001 04:32 PM

hey die
u didnt use the tab key by any chance did u?;)

die_4_me 12-17-2001 06:16 PM

errrrrrr no........ does that work?

wow i'll haveto try it


All times are GMT -5. The time now is 07:08 PM.

Powered by vBulletin®