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

Your preferred username that is used when logging in.

Tooltips inside scrollable chopped off because of overflow: hidden Created Jun 7, 2010

This thread is solved

Views: 2308     Replies: 4     Last reply May 29, 2011  
You must login first before you can use this feature

beforeseven

Posts: 7

Registered:
Jun 7, 2010

Tooltips inside scrollable chopped off because of overflow: hidden

Posted: Jun 7, 2010

Apologies. This has been cross-posted from the scrollable forum, as my issue relates to both.

Does anyone have a workaround for this? I have tooltips appearing within a scrollable area, but because the scrollable items are in a container with its overflow set to hidden, the tooltips are being chopped off.

Edit: This post http://flowplayer.org/tools/forum/30/28373) has a solution, but uses the absolute property from scrollable 1.1. This property no longer seems to be available in scrollable 1.2, so the fix no longer applies.

Remaga

Posts: 1

Registered:
Jun 11, 2010

» Tooltips inside scrollable chopped off because of overflow: hidden

Posted: Jun 11, 2010

Reply to: Tooltips inside scrollable chopped off because of overflow: hidden, from beforeseven
To solve problems with tooltips not being displayed because of their container, I found that appending them to the BODY element of the page worked.
$(#trigger).tooltip(
  { onBeforeShow: function(event, position) {
       this.getTip().appendTo(document.body);
       return true;
    }
  }
);
Maybe this could work in your case too.

Murabut

Posts: 6

Registered:
Aug 17, 2010

» » Tooltips inside scrollable chopped off because of overflow: hidden

Posted: Aug 17, 2010

Reply to: » Tooltips inside scrollable chopped off because of overflow: hidden, from Remaga
@Remaga: Works like charm, thank you :)

tallboy

Posts: 1

Registered:
Aug 24, 2010

» » Tooltips inside scrollable chopped off because of overflow: hidden

Posted: Aug 24, 2010

Reply to: » Tooltips inside scrollable chopped off because of overflow: hidden, from Remaga
This does work. Also know that the .appendTo() function takes any element as an arg.

For me using the containing div that had the overflow:hidden class worked in lieu of appending to the document.body.


$("#trigger").tooltip(
  { onBeforeShow: function(event, position) {
       this.getTip().appendTo("#containing-div");
       return true;
    }
  }
);

AngelLestat

Posts: 5

Registered:
Mar 27, 2011

» » Tooltips inside scrollable chopped off because of overflow: hidden

Posted: May 29, 2011

Reply to: » Tooltips inside scrollable chopped off because of overflow: hidden, from Remaga
Now it works with that, but i have this problem when i enter to first time to the right flowpane item where tooltip is located.

Before you clic in trigger link:

*Lic. Clara Christophersen*

http://www.artesano-naturista.com.ar/equipo-profesionales2.html#staff

You will see the tooltip-div with background tooltip png repeat.

When you clic on the trigger works fine and the other disappears.

I think this happens becoz "Staff" div-item from flowpanes makes display: show on all children.
How can i set up the tooltip div in display: none?
I do it from css, but it does not work, and if add !important it does not show when you trigger.