2014-12-19 135 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