实训任务

This commit is contained in:
daiao 2017-03-20 15:41:56 +08:00
parent b1b1cddd95
commit 8708fa4afc
2 changed files with 33 additions and 4 deletions

View File

@ -46,6 +46,35 @@
</div>
<script type="text/javascript" language="javascript">
var web_h = window.innerHeight;
$(document).ready(function(){
if($.browser.msie) {
$(".content").css("height", web_h - 75 + "px");
$(".tab-info-inner").css("height", web_h * 0.55 + "px"); //IE
}
else if($.browser.safari)
{
$(".content").css("height", web_h - 75 + "px");
$(".tab-info-inner").css("height", web_h * 0.55 + "px"); //Safari
}
else if($.browser.mozilla)
{
$(".content").css("height", web_h - 75 + "px");
$(".tab-info-inner").css("height", web_h * 0.48 + "px"); //Firefox
}
else if($.browser.opera) {
$(".content").css("height", web_h - 75 + "px");
$(".tab-info-inner").css("height", web_h * 0.55 + "px"); //Opera
}else if($.browser.chrome){
if(window.navigator.userAgent.indexOf("MetaSr") == -1){
$(".content").css("height", web_h - 75 + "px");
$(".tab-info-inner").css("height", web_h * 0.55 + "px");
}else{
$(".content").css("height", web_h - 75 + "px");
$(".tab-info-inner").css("height", web_h * 0.52 + "px");
}
}
});
//课程大纲tab
function g(o){return document.getElementById(o);}
function HoverLi(n){

View File

@ -111,9 +111,9 @@ a.rightbar-pause{ color:#29bd8b; font-size: 18px; margin-right:245px; margin-top
.undis {display:none;}
.dis {display:block;}
.tab-info{ }
.content-editor-inner{height:655px; overflow:auto;}
.tab-info-inner{ height:600px;overflow:auto; margin:15px 0 0px 15px; }
.content-history-inner{height:135px; overflow:auto; padding:15px;}
.content-editor-inner{ overflow:auto;}
.tab-info-inner{ overflow:auto; margin:15px 0 0px 15px; }
.content-history-inner{overflow:auto; padding:15px; height: 80px}
.content-history{width:49%; min-width:150px; }
.history-success{ width: 100%; height:40px; line-height: 40px; background:#eef1f2; color:#666; }
.history-fail{ width: 100%; height:40px; line-height: 40px; background:#fdebeb; color:#e53238; }
@ -121,7 +121,7 @@ a.rightbar-pause{ color:#29bd8b; font-size: 18px; margin-right:245px; margin-top
.icon-success{ display:inline-block; padding:0 8px; background:#252e38; color:#fff;}
.content-output{width:37.5%; min-width:350px;}
.content-submit{width:10%; min-width:135px;}
.content-submitbox{ width:120px; margin: 15px auto; height:135px;}
.content-submitbox{ height: 80px; width:120px; margin: 15px auto;}
.panel-inner{ background:#EFF2F7; margin:15px; padding:15px;}
.panel-inner-title{ font-size: 14px; color: #666;}
/* 弹框 */