Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Solved] qTip 1.0.0RC3 does not work with latest jQuery release
17th February, 09:42
Post: #1
[Solved] qTip 1.0.0RC3 does not work with latest jQuery release
Im using qTip 1.0.0.RC3 on a number of my client websites. All my client websites use the latest version of jQuery - 1.4. However I have been told the tooltips have stopped working since the beginning of the week. On Saturday, 13th Feb, jQuery released version 1.4.2 and by the looks of things qTip doesnt like it.

Will there is a new release of qTip that works with jQuery 1.4.2 ?

(I cannot use an older version of jQuery, such as 1.3.2 as i'm using jQuery's 1.4 new features...)
Visit this user's website Find all posts by this user
Quote this message in a reply
17th February, 15:13
Post: #2
RE: qTip 1.0.0RC3 does not work with latest jQuery release
seandelaney, try out the new branch releases of the 1.x series. These will likely become 1.0 on the 28th if no major bugs are found:

http://bazaar.launchpad.net/~craig.craig.../1.0/files

Craig Thompson
Web Developer / Designer
Craigsworks
http://www.craigsworks.com
Visit this user's website Find all posts by this user
Quote this message in a reply
17th February, 18:06
Post: #3
RE: qTip 1.0.0RC3 does not work with latest jQuery release
Craig, thanks for the update.

This drove me a bit crazy today. I was including Google's jQuery http://ajax.googleapis.com/ajax/libs/jqu...ry.min.js. This was fine as they were including v1.4.1 but as soon v1.4.2 was made live on Feb 13, errors started appearing on my site. I've changed the include now to http://ajax.googleapis.com/ajax/libs/jqu...ery.min.js (making specifying 1.4.1 explicitly).

For the record, the error I was receiving was:
JS Code
f(this).data("qtip") is null
Find all posts by this user
Quote this message in a reply
17th February, 19:43 (This post was last modified: 17th February 20:18 by seandelaney.)
Post: #4
RE: qTip 1.0.0RC3 does not work with latest jQuery release
(17th February 18:06)eteanga Wrote:  For the record, the error I was receiving was:
JS Code
f(this).data("qtip") is null

This is the same error I get but I have not tried one of the branch releases yet. However if you have tested a branch release and it has worked fine please let me know. I hope to download and test a branch release either tomorrow or Friday.
----------------- UPDATE -------------

I have downloaded and test a branch release as suggested by Craig with jQuery 1.4.2 (I also use Google's jQuery CDN) and the issue still exists. qTip does not appear to work correctly.

Error message:

JS Code
f(this).data("qtip") is null


Sean
Visit this user's website Find all posts by this user
Quote this message in a reply
18th February, 00:16
Post: #5
RE: qTip 1.0.0RC3 does not work with latest jQuery release
I just tried the latest branch release, but unfortunately it's not working. Oddly, when I tried the minimized version, it didn't seem to do anything at all; no errors, but no tips either. So I downloaded the latest non-minimized version (jquery.qtip-1.0.js) and I'm still getting the same error, in connection with jquery 1.4.2 (I also use Google for it). My error's a little bit different, though; on page load, I get:

Uncaught TypeError: Cannot read property 'interfaces' of null

That's happening on line 135 of jquery.qtip-1.0.js:

$(this).data('qtip').current = $(this).data('qtip').interfaces.length;

Hopefully this info helps...I need my tips back! ;-)

Thanks.
Find all posts by this user
Quote this message in a reply
20th February, 05:58
Post: #6
RE: qTip 1.0.0RC3 does not work with latest jQuery release
Line 131 of jquery.qtip-1.0.js:
JS Code
if(typeof $(this).data('qtip') == 'object')


Change to
JS Code
if(typeof $(this).data('qtip') === 'object' && $(this).data('qtip'))
Find all posts by this user
Quote this message in a reply
20th February, 06:16
Post: #7
RE: qTip 1.0.0RC3 does not work with latest jQuery release
Thanks for this... I'd be interested to hear about plans for perhaps a qtip-1.0.1 with official changes to support the latest JQuery, since I hesitate to patch a library we're using (though a one-liner's not bad, obviously). I'll give it a shot in any case, thanks!


(20th February 05:58)simshaun Wrote:  Line 131 of jquery.qtip-1.0.js:
JS Code
if(typeof $(this).data('qtip') == 'object')


Change to
JS Code
if(typeof $(this).data('qtip') === 'object' && $(this).data('qtip'))
Find all posts by this user
Quote this message in a reply
21st February, 06:09 (This post was last modified: 21st February 06:09 by Ville.)
Post: #8
Thumbs Up RE: qTip 1.0.0RC3 does not work with latest jQuery release
(20th February 05:58)simshaun Wrote:  Line 131 of jquery.qtip-1.0.js:
JS Code
if(typeof $(this).data('qtip') == 'object')


Change to
JS Code
if(typeof $(this).data('qtip') === 'object' && $(this).data('qtip'))

Thanks, this fixed the problem for me!
Find all posts by this user
Quote this message in a reply
21st February, 13:10
Post: #9
RE: qTip 1.0.0RC3 does not work with latest jQuery release
Thanks, this fixed the problem for me!
Visit this user's website Find all posts by this user
Quote this message in a reply
22nd February, 17:59
Post: #10
RE: qTip 1.0.0RC3 does not work with latest jQuery release
Thanks for the fix simshaun, pushed the fix upstream to the latest 1.x branch release (rev24 as of this writing)

Craig Thompson
Web Developer / Designer
Craigsworks
http://www.craigsworks.com
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  [Solved] Need some help:codes in Jquery BabyShung 1 49 29th January 16:35
Last Post: Craig
  [Solved] Can't install or make it work - guide for newbie & donator marz 7 244 25th January 15:52
Last Post: Craig
  Tooltips not loading jQuery or other js files from parent document crodesign 2 133 13th January 22:19
Last Post: crodesign
  [Solved] Multi tips not 100% times work dmhorse 1 91 9th January 18:19
Last Post: Craig
  qtip with jquery mobile tap event finedesignz 1 168 4th January 21:18
Last Post: Craig
  ajax.once:false option not work in IE sse.michael 2 296 9th December 01:44
Last Post: sse.michael
  [Solved] qtip does not work with wordpress version 3.1.4 zakirstage 8 469 2nd December 12:34
Last Post: zakirstage
  [Solved] can't get background to work drm 2 344 21st October 20:33
Last Post: drm
  qtip inside the jquery UI Dialog tiggi 1 484 20th October 18:49
Last Post: Craig
  Google Calendar like bubble for Jquery FullCalendar tdmohr 13 10,127 18th October 07:22
Last Post: jokepondy



User(s) browsing this thread: 1 Guest(s)