You will recieve your password to this address. Address is not made public.

Your preferred username that is used when logging in.

asbolutely relative - positioning of tooltips Created Sep 17, 2009

This thread is solved

Views: 3464     Replies: 10     Last reply Jan 20, 2010  
You must login first before you can use this feature

terry_brown

Posts: 2

Registered:
Sep 17, 2009

asbolutely relative - positioning of tooltips

Posted: Sep 17, 2009

hey guys,

Thought I'd check in to see if anyone had come across this problem - I suspect more a CSS than a tooltip issue, but it's only happening with my tooltip.

Html structure is:

<div class="form_field"><label>stuff</label> <input type="text" ... title="this is my tooltip" />
</div>

now with other things I'm doing, I've had to move to relatively absolute positioning, so have marked .form_field as position: relative;

Works a treat with the other elements I'm working with, but tooltip when it appears now appears miles away from the fields it's supposed to.

Is there any way to overwrite the CSS that is kicked out by the tooltip?

Many thanks for any help.

Cheers,
Terry

Tero
Author of jQuery Tools and this website + JavaScript developer of Flowplayer.

Posts: 1867

Registered:
Nov 16, 2007

» asbolutely relative - positioning of tooltips

Posted: Sep 17, 2009

Reply to: asbolutely relative - positioning of tooltips, from terry_brown
the upcoming tooltip will propably fix your issue. it will position itself relative to the main document and does not care about the parent element's positioning. will come out tomorrow.

Tero
Author of jQuery Tools and this website + JavaScript developer of Flowplayer.

Posts: 1867

Registered:
Nov 16, 2007

» asbolutely relative - positioning of tooltips

Posted: Sep 17, 2009

Reply to: asbolutely relative - positioning of tooltips, from terry_brown
the upcoming tooltip will propably fix your issue. it will position itself relative to the main document and does not care about the parent element's positioning. will come out tomorrow.

terry_brown

Posts: 2

Registered:
Sep 17, 2009

» » asbolutely relative - positioning of tooltips

Posted: Sep 17, 2009

Reply to: » asbolutely relative - positioning of tooltips, from tipiirai
and as if by magic, the shop keeper appeared :) fantastic - thanks for the update!

graphicsxp

Posts: 8

Registered:
Sep 24, 2009

» » asbolutely relative - positioning of tooltips

Posted: Sep 24, 2009

Reply to: » asbolutely relative - positioning of tooltips, from tipiirai
Hi,

I have a very similar issue and although I'm using the latest version of the library, that doesn't seem to have fixed the issue.

You can see my problem athttp://www.buzzmyart.com/signup and then click on of the fields.

Any idea what's wrong ?

thanks

Tero
Author of jQuery Tools and this website + JavaScript developer of Flowplayer.

Posts: 1867

Registered:
Nov 16, 2007

» » » asbolutely relative - positioning of tooltips

Posted: Sep 24, 2009

Reply to: » » asbolutely relative - positioning of tooltips, from graphicsxp
try setting relative: true on your tooltip configuration.

graphicsxp

Posts: 8

Registered:
Sep 24, 2009

» » » » asbolutely relative - positioning of tooltips

Posted: Sep 24, 2009

Reply to: » » » asbolutely relative - positioning of tooltips, from tipiirai
Hi !
Thanks for helping.

I've just added that but as you can see, it doesn't make a difference... :(
anything else I can try ?

yogibear

Posts: 1

Registered:
Oct 3, 2009

» » » » asbolutely relative - positioning of tooltips

Posted: Oct 3, 2009

Reply to: » » » asbolutely relative - positioning of tooltips, from tipiirai
Thank you!! This was exactly what i was looking for!

christophr

Posts: 1

Registered:
Oct 21, 2009

» » » » » asbolutely relative - positioning of tooltips

Posted: Oct 21, 2009

Reply to: » » » » asbolutely relative - positioning of tooltips, from yogibear
Yes, thank you! This was the answer to a positioning problem I was having across all browsers as well.

Knowing about the

relative: 'true',

thing turned out to be a life-saver.

Be excellent to one another.

ksymer

Posts: 6

Registered:
Jan 8, 2010

» » » » asbolutely relative - positioning of tooltips

Posted: Jan 20, 2010

Reply to: » » » asbolutely relative - positioning of tooltips, from tipiirai
Thanks for your work on this bug. I added relative:true and it solved the initial discrepancy across all 5 major browsers. However, my custom app also has a scrollable. Now, when the thumbnails move, the tooltip can no longer find the correct position. It is always displayed above the thumbnail item's original location, even if the item was hidden from view to the right of the next button.

Here's a screenshot showing the tooltip far to the right after the items have scrolled:
http://dev.tacoma.washington.edu/test/kris/jquery/jquerytools/bugs/tooltip_position_relative_to_scrolled_item.png

And a demo showing the behavior:
http://dev.tacoma.washington.edu/test/kris/jquery/jquerytools/uwthome3.html

Any help is appreciated. Thanks!

TonyM

Posts: 6

Registered:
Oct 19, 2009

ok this is a position and ... css issue.

Posted: Nov 5, 2009

Reply to: asbolutely relative - positioning of tooltips, from terry_brown
OK, i get a very funky response to the tooltip script using 1.0.2

I'm using an older version of the script because that was the version i had locally and built the product scrollable galleries with... tried upgrading after i realised there was never version but the galleries went 'funny' (no navi appearing) so retro-graded back to 1.0.2

http://hs09.wadax.ne.jp/~kodawari-cc/?en_home/distributors.html

when mouse-over nothing happens, on mouse out the li's start to jump around and disappear.