var grid_width;
var grid_init=false;
function caculate_grid_width_func(){
var tabpanel = $('#documentlist').closest('.tabs-panels');
if(tabpanel.length>0){
grid_width = tabpanel.width();
}else{
grid_width=$('#documentlist').width();
}
}
/**设置百分比*/
function count_width_func(columnwidth){
var result = 128;
var diff = 0;
columnwidth=null==columnwidth||''==columnwidth||'100%'==columnwidth?'128':columnwidth;
if ( $.browser.msie ){
if('9.0'==$.browser.version )
diff=3;
else if('8.0'==$.browser.version )
diff=3;
else
diff=6;
}
else if($.browser.chrome)
diff=5;
else
diff=2;
if(columnwidth.indexof('%')>0){
columnwidth=columnwidth.replace('%','')*1;
result=grid_width*columnwidth/100;
}
else if(columnwidth.indexof('px')>0){
columnwidth=columnwidth.replace('px','');
result=columnwidth;
}
else
result=columnwidth;
return math.ceil(result)-diff;
}
每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号