views:

175

answers:

2

Hello all,

I am trying to make use of this JQuery plugin: http://bit.ly/2TXYrb

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:{tooltip:"qtip-blue"}}}})(jQuery);

Please have a look at my setup: http://bit.ly/4gtv1J

What am i doing wrong?

Thanks all

+1  A: 

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.

Samuel
Thank you very much for that. I would have never worked that out! :)
Abs
+1  A: 

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.

DEfusion
I have the $(document).ready(function() - wrapped around it but removed it as I thought that might be causing the problem!
Abs