[HTML] 纯文本查看 复制代码
.Cy_TItle p {display: block;}
img {max-width: 100%;}
try{
$(function(){
var imgList = $(".TiMu").find("div img:not(.workAttach img, .attach img, .attachNew img)");
for (var i = 0, len = imgList.size(); i < len; i++) {
var src = imgList.eq(i).attr("src");
if(src){
var index = src.indexOf("375_1024");
if (index != -1) {
src = src.replace("375_1024", "origin");
}
var index2 = src.indexOf("750_1024");
if (index2 != -1) {
src = src.replace("750_1024", "origin");
}
imgList.eq(i).attr("data-original", src);
}
}
$(".TiMu").find("div img:not(.workAttach img, .attach img, .attachNew img)").viewer({
url : 'data-original',
});
})
}catch(error){}
$(document).keydown(function(event){
if ((event.altKey)&&
((event.keyCode==37)|| //屏蔽 Alt+ 方向键 ←
(event.keyCode==39))) //屏蔽 Alt+ 方向键 →
{
event.returnValue=false;
return false;
}
//if(event.keyCode==8){
//return false; //屏蔽退格删除键
//}
if(event.keyCode==116){
return false; //屏蔽F5刷新键
}
if((event.ctrlKey) && (event.keyCode==82)){
return false; //屏蔽alt+R
}
if(event.keyCode==13){//屏蔽回车提交
event.preventDefault();
}
});
$(function(){
$(".DtButton02").toggle(function(){
$(this).prev().show();
},function(){
$(this).prev().hide();
});
//左边
var zt=$(".leftCardChild .current").position().top + 40;
var stop=zt-300;
if(stop>0){
$(".leftCardChild").animate({scrollTop:stop+"px"},0);
}
})
//倒计时
//var maxtime = 10*60 //一个小时,按秒计算,自己调整!
var maxSecond = 59;
var maxtime = 1603;//服务器计算的考试的剩余时间
var limitTime = 30 * 60;//考试限制时间
// var passingStandard = 0;
var testPaperStatus = "1";
/*
if(passingStandard > 0 && parseInt(testPaperStatus) == 3) {
maxtime = limitTime;
}
//刚进入考试(包括重考进入)-考试时间等于考试限时
if(parseInt(testPaperStatus) == 1) {
maxtime = limitTime;
}
*/
if(maxtime >= 0) {
var timers = setInterval("CountDown()",1000);
function CountDown(){
if(maxtime>0){
minutes = Math.floor(maxtime/60);
if(minutes < 10) {
minutes = "0" + minutes;
}
seconds = Math.floor(maxtime%60);
if(seconds < 10) {
seconds = "0" + seconds;
}
msg = minutes +"' "+seconds+"''";
$("#timer").html( msg);
if(maxtime == 5*60) {
WAY.box.show({'divid':'AlertCon02'});
setTimeout("WAY.box.hide();$('#AlertCon02').css('display','none')",3000);
//alert("注意,还有5分钟!");
}
$("#remainTime").val(maxtime);
--maxtime;
} else{
clearInterval(timer);
$("#timeOver").val(true);
timers = clearInterval(timers);
//时间到,自动交卷
submitForm(false,false);
}
}
}
//编辑器显示
function showMore(_this,type,questionId,qNum,blankNum,idEditor) {
var answerType = $(_this).parent().find(".flagInp").val();
$(_this).parent().hide();
var answer = "answerEditor"+answerType;
$("#"+answer).parent().slideDown("slow");
window.UEDITOR_CONFIG.initialFrameWidth = "100%";
window.UEDITOR_CONFIG.initialFrameHeight = 150;
var editor = UE.getEditor(answer);
var _val = $("#answer"+answerType).val();
editor.ready(function() {
editor.setContent(_val);
});
/*
editor.addListener("blur",function(){
selectAnswerBlank(type,questionId,qNum,blankNum,true);
});
*/
}
//切换到文本模式
function hideXhover(_this,eq) {
$(_this).parent().parent().slideUp("slow",function () {
$(".Cy_ulTk li input[name=flag"+eq+"]").parent().show();
});
$("#answer"+eq).val(UE.getEditor("answerEditor" + eq).getPlainTxt());
UE.getEditor("answerEditor" + eq).setContent("");
}
function myEditor_paste(o, html) {
html.html = "";
alert("不允许粘贴答案");
//$("#noSubmitLimitTime").html("只能录入不能粘贴");
//WAY.box.show({'divid':'noSubmitLimitTimeWin'});
}
//填空文本框 输入特殊字符 自动切换到富文本框
$(document).ready(function(){
var blankText=$(".flagInp").prev();
blankText.keyup(function(){
var textVal=$(this).val();
if(/[&'](?:(amp|lt|quot|gt|#39|nbsp);)?/g.test(textVal)){
showMore($(this).next().next());
}
});
});
function getcookie(objname){
var arrstr = document.cookie.split("; ");
for(var i = 0;i < arrstr.length;i ++){
var temp = arrstr[i].split("=");
if(temp[0] == objname){
return unescape(temp[1]);
}
}
}
window.UEDITOR_CONFIG.scaleEnabled = true;
window.UEDITOR_CONFIG.imageUrl = "/ueditorupload";
window.UEDITOR_CONFIG.fileUrl = "/ueditorupload/attachment?uid="+getcookie("_uid");
var allowPaste = "0";
if(allowPaste == 0){
window.UEDITOR_CONFIG.disableDraggable = true;
}
返回列表
- 回到家你说呢
题量: 1
满分:5.0
截止日期:2020-04-02 20:01
填空题
1
答题详情
.autoHeight{height:260px;overflow:auto;}
[url=home.php?mod=space&uid=945662]@media[/url] screen and (min-height: 800px) and (max-height:900px){
.autoHeight{height:290px;overflow:auto;}
}
@media screen and (min-height: 900px) and (max-height:1000px){
.autoHeight{height:320px;overflow:auto;}
}
1
不睡觉四点你大几
(5.0分)第 一 空:
切换到文本模式
第一空:
window.UEDITOR_CONFIG.initialFrameWidth = 718;
window.UEDITOR_CONFIG.initialFrameHeight = 150;
var editor880815898 = UE.getEditor("answerEditor8808158981");
/*
editor880815898.addListener('blur',function(){
selectAnswerBlank(2,'880815898',0,4,true);
});
*/
//富媒体框禁止粘贴
blankobj = "1";
allowPaste = "0";
if(parseInt(allowPaste) == 0) {
//if(parseInt(blankobj) == 0){
editor880815898.addListener('beforepaste', myEditor_paste);
//}
};
//文本框禁止粘贴
function pasteTest(){
if(parseInt(allowPaste) ==0) {
//if(parseInt(blankobj) == 0){
alert("不允许粘贴答案");
return false;
//}
}
}
第 二 空:
切换到文本模式
第二空:
window.UEDITOR_CONFIG.initialFrameWidth = 718;
window.UEDITOR_CONFIG.initialFrameHeight = 150;
var editor880815898 = UE.getEditor("answerEditor8808158982");
/*
editor880815898.addListener('blur',function(){
selectAnswerBlank(2,'880815898',0,4,true);
});
*/
//富媒体框禁止粘贴
blankobj = "1";
allowPaste = "0";
if(parseInt(allowPaste) == 0) {
//if(parseInt(blankobj) == 0){
editor880815898.addListener('beforepaste', myEditor_paste);
//}
};
//文本框禁止粘贴
function pasteTest(){
if(parseInt(allowPaste) ==0) {
//if(parseInt(blankobj) == 0){
alert("不允许粘贴答案");
return false;
//}
}
}
第 三 空:
切换到文本模式
第三空:
window.UEDITOR_CONFIG.initialFrameWidth = 718;
window.UEDITOR_CONFIG.initialFrameHeight = 150;
var editor880815898 = UE.getEditor("answerEditor8808158983");
/*
editor880815898.addListener('blur',function(){
selectAnswerBlank(2,'880815898',0,4,true);
});
*/
//富媒体框禁止粘贴
blankobj = "1";
allowPaste = "0";
if(parseInt(allowPaste) == 0) {
//if(parseInt(blankobj) == 0){
editor880815898.addListener('beforepaste', myEditor_paste);
//}
};
//文本框禁止粘贴
function pasteTest(){
if(parseInt(allowPaste) ==0) {
//if(parseInt(blankobj) == 0){
alert("不允许粘贴答案");
return false;
//}
}
}
第 四 空:
切换到文本模式
第四空:
window.UEDITOR_CONFIG.initialFrameWidth = 718;
window.UEDITOR_CONFIG.initialFrameHeight = 150;
var editor880815898 = UE.getEditor("answerEditor8808158984");
/*
editor880815898.addListener('blur',function(){
selectAnswerBlank(2,'880815898',0,4,true);
});
*/
//富媒体框禁止粘贴
blankobj = "1";
allowPaste = "0";
if(parseInt(allowPaste) == 0) {
//if(parseInt(blankobj) == 0){
editor880815898.addListener('beforepaste', myEditor_paste);
//}
};
//文本框禁止粘贴
function pasteTest(){
if(parseInt(allowPaste) ==0) {
//if(parseInt(blankobj) == 0){
alert("不允许粘贴答案");
return false;
//}
}
}
交卷
上一题
当前第1题/共 1 题
下一题
时间已到,试卷已自动提交!
关闭
您还不能交卷
确定
function getTheNextQuestion(n){
submitForm(true, false, function(data) {
var array=data.split("|");
var s=0+n;
var lastUpdateTime=array[0];
var remainTime=array[1];
var enc=array[2];
window.location.href="/exam/test/reVersionTestStartNew?keyboardDisplayRequiresUserAction=1&getTheNextQuestion=1&courseId=208907314&classId=18054309"+
"&tId=519544&id=15521046&p=1&start="+s+
"&remainTimeParam="+remainTime+"&relationAnswerLastUpdateTime="+lastUpdateTime+"&enc="+enc+"&examsystem=0&cpi=42783469&openc=4157c045974712221b5bd735a1a19523";
});
}
function getTheQuestionByStart(n){
submitForm(true, false, function(data) {
var array=data.split("|");
var lastUpdateTime=array[0];
var remainTime=array[1];
var enc=array[2];
window.location.href="/exam/test/reVersionTestStartNew?keyboardDisplayRequiresUserAction=1&courseId=208907314&classId=18054309&tId=519544&id=15521046&p=1&start="+n+
"&remainTimeParam="+remainTime+"&relationAnswerLastUpdateTime="+lastUpdateTime+"&enc="+enc+"&examsystem=0&cpi=42783469&openc=4157c045974712221b5bd735a1a19523";
});
}
function topreview(start){
submitForm(true, false, function() {
var encRemainTime = $("#encRemainTime").val();
var encLastUpdateTime = $("#encLastUpdateTime").val();
window.location.href="/exam/test/reVersionPaperPreview?courseId=208907314&tId=519544&paperLibraryId=62882203&examRelationAnswerId=15521046&classId=18054309&start="+start+"&encRemainTime="+encRemainTime+"&encLastUpdateTime="+encLastUpdateTime+"&enc=5899cbf087970f0d97ed3c2a7d043e82&examsystem=0&cpi=42783469&openc=4157c045974712221b5bd735a1a19523";
});
}
function back(){
var winId="backExamConfirmWindow";
var tip="您确定要退出考试吗?";
var confirmFunction=function(){
submitForm(true,true);
};
var data={"id":winId,"tip":tip,"confirmFunction":confirmFunction};
var templateWindow=$('#confirmwindow').jqote(data);
$('#confirmwindow').next().html(templateWindow);
WAY.box.show({'divid':winId});
}
var id=this.id;
var tip=this.tip;
var confirmFunction=this.confirmFunction;
var cancelFunction=this.cancelFunction || function(){
WAY.box.hide();
$('#' + id).css('display','none');
} ;
%>
确定
取消
更多推荐
爬取超星考试题目_如何使用网页的源代码分析找到超星线上考试的答案
发布评论