2014-12-19 106 views
1

为什么我的fancytip无法正常工作?它应该是当鼠标悬停弹出窗口将显示的图像时。 jsFiddleFancytip无法正常工作

jQuery的

$(document).ready(function(){ 
$('#qm1').fancytip({ 
     popupside: 'right', 
     text: 'Test popup to right of content.', 
     voffsetpx: '6', 
     hoffsetpx: '5' 
    }); 
}); 

HTML

<img id="qm1" src="images/WebResource.png" style="padding-left: 5px;" /> 

回答

2

您不正确包括jquery.fancytip.js,尝试用这个网址https://balrog.googlecode.com/svn-history/r34/trunk/views/js/jquery.fancytip.js

http://jsfiddle.net/d0qtycwj/4/

+0

尼斯你确实提供了谷歌干线的位置.. – Runcorn 2014-12-19 03:51:45

+0

谢谢!它现在正在工作,但我可以设计它吗? – Jennifer 2014-12-19 15:05:55

+0

@Jennifer我认为这个工具提示风格设置在js文件中,请看这里https://code.google.com/p/balrog/source/browse/trunk/views/js/jquery.fancytip.js?r=34为什么选择旧的插件?你可以找到更好的,像这个http://iamceege.github.io/tooltipster/或http://qtip2.com/看看他们。 – waki 2014-12-19 15:20:47