|
[Solved] Tooltip position within a jQuery UI Tab off in IE6 and IE7
|
|
29th June, 20:05
Post: #1
|
|||
|
|||
|
[Solved] Tooltip position within a jQuery UI Tab off in IE6 and IE7
Hi there,
I'm having a problem getting qtip to appear in the right position with a jQuery UI tab. This problem only appears with IE6, and IE7 the tooltip appears above the tabs instead of within the tabs. IE8, Safari, FF3+ work fine. Basically I have tables within the tabs and each table has a tooltip that activates on click. Here's the qtip code (running build#54 right now). JS Code
and here's the structure (general) of the tabs JS Code
any help/workaround would be great as this is a really frustrating problem on two very frustrating browsers. I can specify javascript/css to run depending on browser but I don't even know what that code would be... |
|||
|
2nd July, 13:10
Post: #2
|
|||
|
|||
|
RE: Tooltip position within a jQuery UI Tab off in IE6 and IE7
I've also got this problem with IE7 compatibility mode (havent checked IE6), and Nightly Build 54.
|
|||
|
2nd July, 14:23
Post: #3
|
|||
|
|||
|
RE: Tooltip position within a jQuery UI Tab off in IE6 and IE7
I had to resort to some hackery to get this working properly. I'm using HTML 4 strict so I can't even detect the browser version using jQuery.support, ended up using the deprecated jQuery.browser items.
basically I checked jQuery.browser for msie and <= 7 and set the position.x and y to offset correctly so that they showed up in the tabs. It seems to be a global offset problem so changing the position just needed to happen at document.load. |
|||
|
4th July, 14:53
Post: #4
|
|||
|
|||
|
RE: Tooltip position within a jQuery UI Tab off in IE6 and IE7
Are both you guys using the nightly 54 revision?
Craig Thompson Web Developer / Designer Craigsworks http://www.craigsworks.com |
|||
|
5th July, 02:30
(This post was last modified: 5th July 02:50 by Squashed.)
Post: #5
|
|||
|
|||
|
RE: Tooltip position within a jQuery UI Tab off in IE6 and IE7
I'm also seeing differences in IE7. It would appear to be due to positioning elements. Please see attached screen shots for my test results. Not sure if it's jQuery or qTip.
With jQuery 1.3.2 and qTip 1.0.0 rc3, the result in IE7&8 is the same and looks correctly positioned. With jQuery 1.4.2 and qTip rev54, IE8 is almost correct, IE7 is wrong. Hope this helps. Even in IE8 there is a difference between qTip 1.0 rc3 and rev54. See attached screenshot. The tooltip is not positioned on the corner in the latest version. It's tip overlaps the target element. |
|||
|
5th July, 21:07
Post: #6
|
|||
|
|||
|
RE: Tooltip position within a jQuery UI Tab off in IE6 and IE7
Further update:
Adding the following to the qtip position option fixed IE7 for me, but not IE6. JS Code
|
|||
|
12th July, 17:08
Post: #7
|
|||
|
|||
RE: Tooltip position within a jQuery UI Tab off in IE6 and IE7
(2nd July 14:23)spinlock Wrote: I had to resort to some hackery to get this working properly. I'm using HTML 4 strict so I can't even detect the browser version using jQuery.support, ended up using the deprecated jQuery.browser items. Hi Spinlock - do you have code for the position switch on this? I'm suffering the same problem and struggling to write a happy piece of code... |
|||
|
13th July, 10:06
Post: #8
|
|||
|
|||
|
RE: Tooltip position within a jQuery UI Tab off in IE6 and IE7
Do either of you guys have a live demo I can take a look at?
Craig Thompson Web Developer / Designer Craigsworks http://www.craigsworks.com |
|||
|
3rd August, 22:22
Post: #9
|
|||
|
|||
|
RE: Tooltip position within a jQuery UI Tab off in IE6 and IE7
Just append your qtip to your tab instead of appending it to the body.
![]() JS Code
|
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)

Search
Member List
Calendar
Help





