Qtip在IE 11中不起作用 [英] Qtip is not working in IE 11

查看:67
本文介绍了Qtip在IE 11中不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用qtip来显示工具提示,它在IE 8中正常工作但在IE 11中无法正常工作。任何人都可以建议任何解决方案吗?



Hi, I am using qtip to display a tooltip wich is working fine in IE 8 but not working in IE 11. Can anyone suggest any solution?

$('#tabularview img[title]').qtip({
                id: 'title', 
                content: {
                    text: function (api) {
                        var originalContent = $(this).attr('title');
                        if (originalContent.length > 0) {
                            $('.selector') elements.
                            return nl2br(originalContent, true);
                        }
                    }
                },
                position: {
                    my: 'bottom right',
                    at: 'top right',
                    viewport: $('#RMTabularView'),
                    effect: false
                },
                show: { effect: false, solo: false },
                hide: { effect: false },
                style: {
                    classes: 'Comments Top', tip: false
                }
            });





我尝试了什么:



我检查过IE是否处于兼容模式。请给出一些建议。谢谢



What I have tried:

I have checked IE is in compatible mode. Please give some suggestion. Thanks

推荐答案

('#tabularview img [title]')。qtip({
id:'title',
content:{
text:function(api){
var originalContent =
('#tabularview img[title]').qtip({ id: 'title', content: { text: function (api) { var originalContent =


(this).attr('title');
if(originalContent.length> 0){
(this).attr('title'); if (originalContent.length > 0) {


('。selector')元素。
返回nl2br(originalContent,true);
}
}
},
仓位:{
my:'右下角',
at:'右上角',
视口:
('.selector') elements. return nl2br(originalContent, true); } } }, position: { my: 'bottom right', at: 'top right', viewport:


这篇关于Qtip在IE 11中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆