Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
qTip 1.0.0-rc3 & jQuery 1.4
18th March, 15:19
Post: #1
qTip 1.0.0-rc3 & jQuery 1.4
Here's how to get qTip 1.0.0-rc3 working with jQuery 1.4.

At line 15 character 2286 in jquery.qtip.min.js change:
JS Code
if(typeof f(this).data("qtip")=="object")

to:
JS Code
if(typeof f(this).data("qtip")=="object"&&f(this).data('qtip')!==null)


In jquery.qtip.js the change is from:
JS Code
if(typeof $(this).data('qtip') == 'object')

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

at line 134

Hope this helps.
Find all posts by this user
Quote this message in a reply
18th March, 19:59
Post: #2
RE: qTip 1.0.0-rc3 & jQuery 1.4
Your right, this does fix the biggest problem. However, in IE the speach bubble arrow does not show up when using jQuery 1.4.2. Any ideas on that?


(18th March 15:19)Yeti Wrote:  Here's how to get qTip 1.0.0-rc3 working with jQuery 1.4.

At line 15 character 2286 in jquery.qtip.min.js change:
JS Code
if(typeof f(this).data("qtip")=="object")

to:
JS Code
if(typeof f(this).data("qtip")=="object"&&f(this).data('qtip')!==null)


In jquery.qtip.js the change is from:
JS Code
if(typeof $(this).data('qtip') == 'object')

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

at line 134

Hope this helps.
Find all posts by this user
Quote this message in a reply
18th March, 20:27
Post: #3
RE: qTip 1.0.0-rc3 & jQuery 1.4
Dustmoo provided us with an updated RC3 branch which fixed several issues with jQuery 1.4 series as well as some IE specific bugs. These merges have been integrated into the upcoming 1.0 release and are available here as the pre-1.0 files:

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
5th May, 16:53
Post: #4
RE: qTip 1.0.0-rc3 & jQuery 1.4
(18th March 20:27)Craig Wrote:  Dustmoo provided us with an updated RC3 branch which fixed several issues with jQuery 1.4 series as well as some IE specific bugs. These merges have been integrated into the upcoming 1.0 release and are available here as the pre-1.0 files:

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

I just installed this version and it fixed the problem with 1.4 in as much as it doesn't throw an error anymore. However, now my tips flash over and over when I hover the mouse instead of just displaying steadily. Any ideas?
Find all posts by this user
Quote this message in a reply
5th May, 17:15
Post: #5
RE: qTip 1.0.0-rc3 & jQuery 1.4
tdekeok, make sure you're not overlapping the tooltip on the element, as this causes a sequence of mouseout/mouseover events that cause it to flash on/off consistantly.

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
25th August, 10:54 (This post was last modified: 25th August 10:55 by interpotential.)
Post: #6
RE: qTip 1.0.0-rc3 & jQuery 1.4
I found that switching to the jQuery nightly build actually fixes everything. The source of the problem here appears to be that jQuery 1.4 started to return null instead of undefined on .data('key') calls when key was not yet defined.

As I found somewhere else on the net, can't remember where exactly, the nightly builds don't do that anymore.

Link: http://docs.jquery.com/Downloading_jQuer...tly_Builds

(just make sure to test everything you depend on when you do start using the nightlies - there migh be unexpected changes in behaviour)
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] qTip and jQuery Validation QandnotU 2 3,204 17th November 10:55
Last Post: Paté
  qTip pointer does not works in the latest jQuery plugin 1.4.1 babupca 1 2,278 11th February 14:17
Last Post: Craig
  How to qtip over img that is on a JQuery popup? arthur71 1 2,029 29th January 22:20
Last Post: Craig
  qTips with jQuery UI CSS and ThemeRoller dfeeney 3 3,288 5th May 12:24
Last Post: tipolosco
  jQuery: Performance analysis of selectors bellzebu 0 1,733 20th April 13:51
Last Post: bellzebu



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