为了账号安全,请及时绑定邮箱和手机立即绑定

没有说明 为什么要判断IE呢?

if (!width && isIE) {

                tooltipBox.style.width = tooltipBox.offsetWidth;

            }

没有说明 为什么要判断IE呢?

正在回答

1 回答

            tooltipBox.style.width = width ? width + 'px' : 'auto';

            tooltipBox.style.height = height ? height + 'px' : 'auto';

 这个IE不是支持吗

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消
Tooltip浮动提示框效果
  • 参与学习       25139    人
  • 解答问题       60    个

小效果大作用,提升用户体验度,提升编程兴趣和水平

进入课程

没有说明 为什么要判断IE呢?

我要回答 关注问题
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号