jquery easyui 中使用 window 插件頁面中 有 ifram 標簽 ,使用window 拖動是會卡動, 求解決
1 回答

呼如林
TA貢獻1798條經驗 獲得超3個贊
var width = $(window).width()-80;
var height = $(window).height()-120;
stView_layout = $('#stView_layout').layout({
width: width,
height: height
});
station_view = $('#stationView').window({
title: '測站導航',
left:50,
top:80,
width: width,
modal: false,
shadow: false,
closed: true,
height: height,
onResize:function(w,h){
if(stView_treegrid){
stView_treegrid.treegrid({
width:w-20,
height:h-260
});
}
}
});
- 1 回答
- 0 關注
- 524 瀏覽
添加回答
舉報
0/150
提交
取消