diff --git a/index.php b/index.php index afc873d..80e1cb8 100644 --- a/index.php +++ b/index.php @@ -52,7 +52,7 @@ if($_SESSION[Student_ID] != ""){ @@ -102,7 +102,7 @@ if($_SESSION[Student_ID] != ""){
" type="text" class="validate" style="color:#fff" name="timestart">
-
本次答题限时15分钟    剩余时间  15:00
+
本次答题限时10分钟    剩余时间  10:00
开始
diff --git a/js/questionnaire.js b/js/questionnaire.js index 2a45c0d..7c47ee6 100644 --- a/js/questionnaire.js +++ b/js/questionnaire.js @@ -99,7 +99,7 @@ $(document).ready(function() { //name="remtime" //remtime(sec,callback); startremtime = function() { - myFun[0](900, clearT, + myFun[0](600, clearT, function() { var btn = document.getElementById("submit"); $("#form1").ajaxSubmit({ @@ -152,7 +152,7 @@ $(document).ready(function() { //表单验证 requestFirst = function() { var ifblock = new Array(), - scroll_top_duration = 900; //ms + scroll_top_duration = 600; //ms for (var i = eName.length - 1; i >= 0; i--) { ifblock[i] = $.trim(document.getElementById(eName[i]).value); } @@ -184,7 +184,7 @@ $(document).ready(function() { function showRequest() { var ifblock = new Array(), - scroll_top_duration = 900; //ms + scroll_top_duration = 600; //ms for (var i = eName.length - 1; i >= 0; i--) { ifblock[i] = $.trim(document.getElementById(eName[i]).value); }