In the following thread...
http://craigsworks.com/projects/forums/t...ry-release
...I learned that there is a fix available for overcome the fact that qTip does not work with jQuery 1.4.2. The suggestion is to use rev 24:
http://bazaar.launchpad.net/~craig.craig...0/files/24
The thread is closed now, but after trying that suggestion I noticed that for me the problem is not solved. Instead, I'm now getting two instead of one error:
missing ; before statement
lf.options.style.border.radius)self.el...l')drawBorder.call(self,$(this),border
mypath/js/jquery.qtip-1.0.min.js
Line 15
f(this).data("qtip") is null
mypath/js/jquery.qtip.min.js
Line 15
All I did was the following:
Point to Google jQuery 1.4.2 instead of jQuery 1.4.1.
Downloaded rev 24, and linked to it locally.
My previous setup (Google's jQuery 1.4.1 and official qTip worked perfectly)
Any ideas?
fchristant, thanks for bringing this to my attention. The minified version of the library was indeed having problems because the 1.x branches were not JSLint compliant. I've corrected this issue in the latest revision (rev25 as of this writing), so try redownloading and see if this solves your problems.
(22nd February 20:53)Craig Wrote: [ -> ]fchristant, thanks for bringing this to my attention. The minified version of the library was indeed having problems because the 1.x branches were not JSLint compliant. I've corrected this issue in the latest revision (rev25 as of this writing), so try redownloading and see if this solves your problems.
Thank you, that solves it
Excellent plugin, excellent support.
Hi !
First : thank you for this beautiful project, and sorry for my english: I'm french.
I use qTip for a month or two. Its only for a personnal backoffice. With jQuery 1.4.2 : sQtip doesn't work. So I've downloaded the version you said to fchristant. It's ok, I've no error with the initialisation of my tooltip dom.
BUT: When I over the div that containing a tooltip listener : firebug return an error : "position is null". The tooltip was created (I can see it on the DOM) but not moved and showed : the tooltip still unvisible.
I've this error with the 1.4.1 & 1.4.2 version of jQuery and the revision 25 of qTip.
Is there a solution or a workaround for this problem ? Or is this a bug ?
Thank you !
I had the same problem, Shudrum (your english is great btw)
I'm using the regular (not minified) version of the latest revision (25 as of writing) and added the following code to line 1096:
Quote: if(newPosition == null){
newPosition = 1;
}
Everything works fine for me now

Thank you for the answer.
I've tried your solution but it still doesn't work. So I've made some tests with the regular version. The error was at the line 1088 : position.left += at.x === 'right' ? targetWidth : at.x === 'center' ? targetWidth / 2 : 0;
position is null.
If tried to understand what was target on the code. alert(target) return an object, so target isn't null. But target.width() or target.offset() doesn't work.
I don't know what to do.
I go to try this on a "blank" project ... maybe, was it my project ?
Craig, I'm not sure if this will affect qTip or not, but take a look at this bug report on jQuery:
http://dev.jquery.com/ticket/6166
It seems they are changing something about .data() again in jQuery 1.4.3.
Thanks for the heads up simshaun, strange that they might have changed that without documetnating it.
Hi!
I've installed the rev25 but now I get this error:
$("#main [title]").qtip is not a function
I installed the full version no the minified one and I check and the function is called QTip, it is not qtip anymore....
Either way if I try to call it with QTip it would get the same error! Can somebody help me?
I needed to update my Jquery version and now I have to go throught a lot of stuff that doesn't work and the qtip thing annoys me the most!
thank you and excuse my bad english
cheers,
jose
Hey Jose,
jQuery 1.4.2 will work with qTips Revision 55
Revision 55
I have tested it on a project I am working on and it works perfectly.
Luke
(15th September 16:56)joze Wrote: [ -> ]Hi!
I've installed the rev25 but now I get this error:
Joze, make sure you're including the file properly. 99% of the time if you get the error message: "$(".selector").qtip is not a function" qTip isn't being included properly on the page.Also make sure it's included AFTER the jQuery library.
Hi,
previously i'm using jquery 1.3.2 and jquery.qtip-1.0.0-rc3.min and it works fine.
early last week, i noticed that my qtip didn't work.
what should i do?
and sorry for not being able to trace the latest thread regarding this issue.
kindly help me out.
tq.
(22nd February 20:53)Craig Wrote: [ -> ]fchristant, thanks for bringing this to my attention. The minified version of the library was indeed having problems because the 1.x branches were not JSLint compliant. I've corrected this issue in the latest revision (rev25 as of this writing), so try redownloading and see if this solves your problems.
Where can I get rev25?
(26th October 23:59)Craig Wrote: [ -> ]Chuck: http://bazaar.launchpad.net/~craig.craig.../1.0/files
Hi, thanks for the help I got qtip up and runing. However now I updated to jquery version 1.4.3 and it stills works but somehow the behaviour has changed!
Instead of displaying the tooltip directly in place it creates the tooltip (shows it, not remain hidden like before) and then position it to the right place! The effect is really annoying and start happening once I updated to jquery 1.4.3. any ideas?
regards,
jose
Craig:
First it of all thank you very much for the awesome plugin. I have jquery 1.4.2 and your version 55. Everything works fine except for one glitch. Here is the code:
JS Code
$('.ui-jqgrid-titlebar').qtip({
content: 'Click right icon to open/close results.',
show: 'mouseover',
hide: 'mouseout',
position: {
target: 'mouse'
},
style: 'styleToolTip'
});
The problem is with the position element. The first time I hover over the element it shows fine.
The second time starts blinking at a high rate.
Thanks,
Fabio
Try setting hide.fixed to true
(12th January 19:04)Craig Wrote: [ -> ]Try setting hide.fixed to true
Craig:
you suggestion did the trick, thanks!
Fabio