简体   繁体   English

qTip2'提示'(箭头)未显示

[英]qTip2 'tip' (arrow) not showing

I'm having trouble creating working qTips (the little arrow isn't showing). 我在创建工作qTips时遇到了麻烦(小箭头没有显示)。 I have had these working in the past; 我过去曾经做过这些工作; the only thing I can think that has changed over time is the jQuery and qTip2 versions. 我能想到的唯一一个随时间变化的是jQuery和qTip2版本。 I am using the following code to generate the tip and have set up a test case here using the "latest" jQuery (1.10.2) and qTip2 (2.1.1) and it doesn't work for me (firefox, chrome): 我使用以下代码生成提示,并使用“最新”jQuery(1.10.2)和qTip2(2.1.1)在这里设置了一个测试用例,它对我不起作用(firefox,chrome):

$(document).ready(function()
 {
     $('#testElement').qtip({
         content: 'readyTip'
     });
 });

http://jsfiddle.net/KgSqV/ http://jsfiddle.net/KgSqV/

Any ideas? 有任何想法吗? Thanks 谢谢

I see that your css reference is not complete version (seems to be partial); 我看到你的css引用不是完整的版本(似乎是部分的); try change your include reference in the following: 尝试更改以下内容中的include引用:

  • http://cdnjs.cloudflare.com/ajax/libs/qtip2/2.1.1/jquery.qtip.js
  • http://cdnjs.cloudflare.com/ajax/libs/qtip2/2.1.1/jquery.qtip.css

It's partial because is the js/css Basic features version (no additional styles or features) you must use the All features & styles . 这是部分因为是js / css Basic features版本(没有其他样式或功能),您必须使用All features & styles

Download page: http://qtip2.com/download 下载页面: http//qtip2.com/download

Demo: http://jsfiddle.net/IrvinDominin/Pu4A4/ 演示: http//jsfiddle.net/IrvinDominin/Pu4A4/

You should select the Speech bubble 'tips' option when you make a custom qTip2 build at its download page. 在下载页面上进行自定义qTip2构建时,应选择Speech bubble 'tips'选项。 If you do not select it your tooltips will be without arrows. 如果您不选择它,您的工具提示将没有箭头。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM