I am trying to make use of qTip JQuery plugin.
I have tried to implement it but I get an error reported by firebug.
f(window).scrollLeft is not a function
[Break on this error] (function(f){f.fn.qtip=function(B,u){var...asses:{开发者_如何学Ctooltip:"qtip-blue"}}}})(jQuery);
Please have a look at my setup.
What am i doing wrong?
I viewed source on your page and it looks like the jQuery version your using is older than what qTip requires.
http://craigsworks.com/projects/qtip/docs/#requirements
jQuery version 1.2.6 and above
http://174.132.101.73/~dandy/tester/jquery.js
jQuery 1.2.3
update and you should be good.
You should wait until the DOM is loaded before trying to attach qtip to it, so wrap your code in:
$(function() {
// your code here
});
Also check the version requirements as Samuel points out.
精彩评论