ZhiYeJianKang_PeiXun/Song.Site/Manage/Exam/Scripts/SelfExam.js
2025-02-20 15:41:53 +08:00

30 lines
891 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

$(function(){
//提示信息
$("div[tag=group]").each(function(){
var txt=$.trim($(this).text());
$(this).attr("title",txt);
});
setExamInitEvent();
});
//设置初始化的事件
function setExamInitEvent()
{
//考试的点击事件,点击后进入考场
$("#todayExam").find(".examBox").click(function(){
//当前考试场次的id
var examid=$.trim($(this).attr("examid"));
//考试主题
var theme=$.trim($(this).find("div[tag=theme]").text());
//考试学科
var subject=$.trim($(this).find("div[tag=subject]").text());
//
var winPathUrl="/manage/exam/examing.aspx?id="+examid+"&timestamp=" + new Date().getTime();
var title="考试主题:《"+theme+"》    课程/专业:"+subject;
var p=new parent.PageBox(title,winPathUrl,100,100,"555");
p.IsDrag=false;
p.Open();
p.HideClose();
//OpenWin(winPathUrl,title,100,100);
});
}