- Timestamp:
- 2003-04-15T14:35:55+12:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/cgi-bin/perl.cgi
r4131 r4157 19 19 usabcgi::printstyle($ENV{HTTP_USER_AGENT}); 20 20 usabcgi::printscript; 21 #print "timeleft=21;\n"; 22 #print "function timerdisplay(){\n"; 23 #print "\tif(eval(document.getElementById != undefined )){\n"; 24 #print "\t\tif(parseInt(timeleft)>0){\n"; 25 #print "\t\t\ttimeleft-=1;\n"; 26 #print "\t\t\ttimeforscreen = timeleft+\' second\';\n"; 27 #print "\t\t\tif(timeleft>1)\{ timeforscreen += \'s\';\}\n"; 28 #print "\t\t\t\tdocument.getElementById(\'timer\').firstChild.nodeValue=timeforscreen;\n"; 29 #print "\t\t\t\tsetTimeout(\'timerdisplay()\',1000);\n"; 30 #print "\t\t}\n"; 31 #print "\t}\n"; 32 #print "}\n"; 33 #print "\n"; 21 34 22 35 23 print "</head><body onLoad=\"if(parseInt(navigator.appVersion)>3)\{window.resizeTo(420,300);\}\" bgcolor=\"#FFFFFF\">\n";
Note:
See TracChangeset
for help on using the changeset viewer.