代码之家  ›  专栏  ›  技术社区  ›  Simon

jQuery qTip在jQuery-1.4.2下不工作?

  •  3
  • Simon  · 技术社区  · 16 年前

    jQuery qTip 插件,但不适用于最新版本的jquery(1.4.2)

    它在1.3.2中运行良好。

    原因是什么?

    更新:

    下面是一个最简单的例子,它不起作用

     ...
    <head>
        <script type="text/javascript" src="javascript/jquery-1.4.2.js" ></script>
        <script type="text/javascript" src="javascript/jquery.qtip-1.0.0-rc3.min.js"></script>
        <script type="text/javascript">
        $(document).ready(function()
        {
            $("a").qtip({content: 'some text here'});
        });
        </script>
    </head>
    <body>
    <a >example</a>
    </body>
    

    1 回复  |  直到 16 年前
        1
  •  4
  •   Ben Everard    16 年前

    对,看来qTip的最新版本有一个bug,有一个 bit of a discussion about it . 其中一位回复评论的人建议使用另一种方法 version (build, whatever) of the plugin .

    I did just that and slapped it into jsFiddle revision 55

    希望有帮助。

    推荐文章