|
[Solved] Does 1.x Work with jQuery 1.4.2?
|
|
6th September, 03:45
(This post was last modified: 6th September 04:09 by bocaj.)
Post: #1
|
|||
|
|||
|
[Solved] Does 1.x Work with jQuery 1.4.2?
Hi,
I am a Drupal developer and I created a project for Drupal users to use the qTip library! Drupal is currently in the process of coming out with a new version, currently in alpha release, which will use jQuery 1.4.2. I have my project working great with the qTip library on Drupal's current version, which uses jQuery 1.2.6 and (optionally) 1.3.2. In order for the functionality to be available when the new Drupal version is released, I have been working on porting the project over to Drupal's new version. I am receiving an error in Firebug ($(this).data("qtip") is null) on line 138 of the uncompressed library code. Does this have to do with using jQuery 1.4.2? I was looking into using the 2.x version of qTip even though it is still in development, but received numerous errors regarding the JS file that I set (I can't remember the exact errors, I can get them if that would help). Being in development, I didn't see or expect any documentation, but it appears like the objects and such (pardon me if I am not using the correct terminology, I am not real familiar with jQuery...especially the terminology) are different in 2.x vs. 1.x, is that correct? This was a long post to really ask: - Is qTip 1.0.0-rc3 compatible with jQuery 1.4.2? - Unfair question I know, but do you have an idea of when qTip 2.x will be released and when there will be API documentation? Really love what you have done with this project Craig! Thanks so much for your continued work on this project. Drupal has always lacked a good tooltip module (in my opinion). I am hoping that with our combined efforts that qTip will flourish on Drupal (as well as elsewhere!) I look forward to a response to these above questions! Thanks in advance! Jacob http://drupal.org/project/qtip I found the documentation for 2.x (sorry for not poking around more before posting). I will have to look into this more in getting things setup for qTip 2. Also, I tried the converter, but I could never get it to work. The "waiting" spinner was constantly there, no matter how long I let it sit there (I waited about 5 minutes at one point). Don't know if I'm maybe doing something wrong? Thanks, Jacob |
|||
|
6th September, 09:25
(This post was last modified: 6th September 09:25 by artvolk.)
Post: #2
|
|||
|
|||
|
RE: Does 1.x Work with jQuery 1.4.2?
We used latest version from GitHub (http://github.com/Craga89/qTip) and documentation from here: http://craigsworks.com/projects/qtip_new/ for 1.4.2. Fixed versions of 1.0 that you can found here in the forum, have problems with 1.4.2 (no show effect for me, more details here: http://craigsworks.com/projects/forums/t...t-on-show)
|
|||
|
10th September, 11:15
(This post was last modified: 10th September 11:15 by chrisf.)
Post: #3
|
|||
|
|||
|
RE: Does 1.x Work with jQuery 1.4.2?
I am using qtip 1.0.0 rc3 and have updated to jQuery 1.4.2.
Due to a breaking change in jQuery 1.4.2 (which by the looks of it will be corrected in 1.4.3 - see links below) the jtip code raises an exception on line 138. As far as I can tell the problem is fixable by editing the code as shown below (the code starts at line 133 in jquery.qtip-1.0.0.-rc3.js PHP Code: // Check if element already has qTip data assignedLinks about breaking change: - http://forum.jquery.com/topic/jquery-1-4...-behaviour http://dev.jquery.com/ticket/6166 As far as I can tell changing line |
|||
|
13th September, 15:09
(This post was last modified: 13th September 15:10 by DarkNSF.)
Post: #4
|
|||
|
|||
|
RE: Does 1.x Work with jQuery 1.4.2?
I minified the solution above if anyone needs it.
http://yui.2clics.net/upload/418406f699c...rc3-min.js http://www.thomdowning.com |
|||
|
14th September, 13:58
Post: #5
|
|||
|
|||
|
RE: Does 1.x Work with jQuery 1.4.2?
Thanks DarkNSF! I had to use jquery 1.4.2 on my page since I am using the nivo slider in addition to qtip but with 1.3.2 my qtip broke! Now they're both working together fine. The only thing is that the qtip pointer is not showing up in IE 8. Is there a fix for this?
(13th September 15:09)DarkNSF Wrote: I minified the solution above if anyone needs it. |
|||
|
22nd September, 15:08
Post: #6
|
|||
|
|||
|
RE: Does 1.x Work with jQuery 1.4.2?
Thanks for starting this thread. I was frustrated to find that qtip 1.0.0-rc3 does not work at all with jQuery 1.4.*.
|
|||
|
29th September, 17:24
Post: #7
|
|||
|
|||
|
RE: Does 1.x Work with jQuery 1.4.2?
In fairness this is actually a jQuery bug with how the suddenly changed how .data() works i.e. what it returns in response to certain arguments
![]() Although it only effects 1.4.2, not 1.4.1 or the development branch Craig Thompson Web Developer / Designer Craigsworks http://www.craigsworks.com |
|||
|
5th October, 08:21
Post: #8
|
|||
|
|||
|
Hi there,
Just changed the 55 revision with the above changes and they work great.. on anchors.... But when using button type it does not work. Same error. Tweaked the expression on row 134 a little bit and now it looks like this: JS Code
Who knows what else we can expect with the 1.4.2. JQ? Cheers! Sjoerd |
|||
|
9th November, 21:45
Post: #9
|
|||
|
|||
|
RE: Does 1.x Work with jQuery 1.4.2?
They just release jQ 1.4.3 which fixes this:
http://blog.jquery.com/2010/10/16/jquery-143-released/ All workie workie now.
|
|||
|
26th February, 16:29
Post: #10
|
|||
|
|||
|
RE: Does 1.x Work with jQuery 1.4.2?
It needs an alert on the plug-in page about issues with jQuery 1.4.2. I spent too much time re-writing my code and trying to debug it.
|
|||
|
1st March, 15:28
Post: #11
|
|||
|
|||
|
RE: Does 1.x Work with jQuery 1.4.2?
The post is stickied zzz, a quick search on the forums will bring it up quite promptly. 1.0 is actually dead code now, as qTip2 is out soon, so no udpates will be made to the documentation.
Craig Thompson Web Developer / Designer Craigsworks http://www.craigsworks.com |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)

Search
Member List
Calendar
Help





