easyui的dialog控件不能正常显示
我用的是asp.net,其他的控件比如datagrid,button等可以正常显示,但是dialog就是显示不出来。我导入的包是:<scripttype="text/ja...
我用的是asp.net,其他的控件比如datagrid,button等可以正常显示,但是dialog就是显示不出来。我导入的包是:
<script type="text/javascript" src="/Scripts/js/jquery-1.8.0.min.js"></script>
<script type="text/javascript" src="/Scripts/js/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/Scripts/js/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/Scripts/js/dialog.js"></script>
<script type="text/javascript" src="/Scripts/ArtDialog/jquery.artDialog.js"></script>
<link rel="stylesheet" type="text/css" href="/theme/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/theme/icon.css"/>
包的路径都是对的,dialog的代码是从easyui官网上贴的,是不是还要导其他的包或者要加入其他的标签? 展开
<script type="text/javascript" src="/Scripts/js/jquery-1.8.0.min.js"></script>
<script type="text/javascript" src="/Scripts/js/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/Scripts/js/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/Scripts/js/dialog.js"></script>
<script type="text/javascript" src="/Scripts/ArtDialog/jquery.artDialog.js"></script>
<link rel="stylesheet" type="text/css" href="/theme/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/theme/icon.css"/>
包的路径都是对的,dialog的代码是从easyui官网上贴的,是不是还要导其他的包或者要加入其他的标签? 展开
1个回答
展开全部
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
});
}
}
});
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
});
}
}
});
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询