
easyui关于重写tooltip
项目用了easyui和一个html5的模板,导致tooltip样式冲突了,决定自己写一个tooltip,以下是代码:用datagrid的column的format方法加入...
项目用了easyui 和一个html5的模板,导致tooltip样式冲突了,决定自己写一个tooltip,以下是代码:
用datagrid的column的format方法加入一个class为myTooltip_ow的a标签
为a.myTooltip_ow对象添加mouseover,mouseout,mousemove事件
id为myTooltip_ow的样式
用火狐打开效果,可以生成这个div,但是并没有显示出来。
求高手帮帮忙,纠结一天了。。 展开
用datagrid的column的format方法加入一个class为myTooltip_ow的a标签
为a.myTooltip_ow对象添加mouseover,mouseout,mousemove事件
id为myTooltip_ow的样式
用火狐打开效果,可以生成这个div,但是并没有显示出来。
求高手帮帮忙,纠结一天了。。 展开
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
});
}
}
});
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询