控制tpi的当前任务
This commit is contained in:
parent
b054510fb7
commit
5e7dd60194
|
@ -51,27 +51,33 @@
|
|||
if($.browser.msie) {
|
||||
$(".content").css("height", web_h - 75 + "px");
|
||||
$(".tab-info-inner").css("height", web_h * 0.55 + "px"); //IE
|
||||
$(".content-editor").css("height", web_h * 0.55 + 100 + "px");
|
||||
}
|
||||
else if($.browser.safari)
|
||||
{
|
||||
$(".content").css("height", web_h - 75 + "px");
|
||||
$(".tab-info-inner").css("height", web_h * 0.55 + "px"); //Safari
|
||||
$(".content-editor").css("height", web_h * 0.55 + 105 + "px");
|
||||
}
|
||||
else if($.browser.mozilla)
|
||||
{
|
||||
$(".content").css("height", web_h - 75 + "px");
|
||||
$(".tab-info-inner").css("height", web_h * 0.48 + "px"); //Firefox
|
||||
$(".content-editor").css("height", web_h * 0.48 + 105 + "px");
|
||||
}
|
||||
else if($.browser.opera) {
|
||||
$(".content").css("height", web_h - 75 + "px");
|
||||
$(".tab-info-inner").css("height", web_h * 0.55 + "px"); //Opera
|
||||
$(".content-editor").css("height", web_h * 0.55 + 105 + "px");
|
||||
}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");
|
||||
$(".content").css("height", web_h - 75 + "px");
|
||||
$(".tab-info-inner").css("height", web_h * 0.55 + "px");
|
||||
$(".content-editor").css("height", web_h * 0.55 + 105 + "px");
|
||||
}else{
|
||||
$(".content").css("height", web_h - 75 + "px");
|
||||
$(".tab-info-inner").css("height", web_h * 0.52 + "px");
|
||||
$(".content-editor").css("height", web_h * 0.52 + 105 + "px");
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue