0
点赞
收藏
分享

微信扫一扫

EasyUI 鼠标经过 显示气泡一例

yundejia 2022-02-25 阅读 149


$(function(){
$('#contacts').tooltip({
position: 'bottom',
content: '<c:forEach items="${record.contacts}" var="staff">${staff.name}-${staff.jobRole }-${staff.tel }<br></c:forEach>',
onShow: function(){
$(this).tooltip('tip').css({
backgroundColor: 'white',
borderColor: 'black'
});
var t = $(this);
t.tooltip('tip').unbind().bind('mouseenter', function(){
t.tooltip('show');
}).bind('mouseleave', function(){
t.tooltip('hide');
});
}
});
});


举报

相关推荐

0 条评论