Changeset 4158 for trunk/gsdl


Ignore:
Timestamp:
2003-04-15T14:41:52+12:00 (21 years ago)
Author:
dana
Message:

clearing up IE problems

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/cgi-bin/perl.cgi

    r4157 r4158  
    1919usabcgi::printstyle($ENV{HTTP_USER_AGENT});
    2020usabcgi::printscript;
    21 
     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";
    2234
    2335print "</head><body onLoad=\"if(parseInt(navigator.appVersion)>3)\{window.resizeTo(420,300);\}\" bgcolor=\"#FFFFFF\">\n";
     
    3951usabcgi::printaplinks;
    4052print "<p>Your comments have been noted. <p>Thank you for helping us make Greenstone more usable.</p>\n";
    41 print "<table width=\"400px\"><tr>\n";
     53print "<table width=\"100%\"><tr>\n";
    4254print "<td class=\"sans\"><a href=\"readresults.cgi?$idno\" target=\"_blank\">View report details</a></td>\n";
    4355print "<td class=\"sans\"><a href=\"trackreport.cgi?$idno\" target=\"_blank\">Track report</a></td>";
Note: See TracChangeset for help on using the changeset viewer.