main menu fixed, tooltip not -> moving when mousewheel scrolling

Christophe Depoire's Avatar

Christophe Depoire

19 Nov, 2011 03:01 PM

Hello,
I have a problem with the tooltip :
I have a fixed menu on the left of my webpage, so when I scroll the page scroll, not the menu,
If I set a tooltip attached to a menu item and I mousewheel when the cursor hovers the menu item, the menu sticks but the tooltip follow the scroll of the page, this is not pretty,

I haven't found anything to set the tooltip position fixed, is it possible?

Thanks a lot.

  1. 1 Posted by Denecir on 29 Nov, 2011 09:13 PM

    Denecir's Avatar

    Hi Christophe,

    I had the same problem when I used TipTip in a input field placed inside a div with style overflow:auto.

    I solved this problem with a small hack. I watch the scrollbar, when it changes, I hide the tooltip. See the code:

    $('#conteudo').scroll(function(){

    $('#tiptip_holder').css('display', 'none');
    

    });

    Note: "conteudo" is the div's id.

    Hugs!

  2. 2 Posted by Outman on 13 Jan, 2014 07:43 AM

    Outman's Avatar

    Don't know if a menu control can be your help or not. I've got the menu start very quickly.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Already uploaded files

  • problem-tooltip-go-away.jpg 261 KB

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

08 Feb, 2017 08:05 AM
08 Feb, 2017 08:02 AM
08 Feb, 2017 07:56 AM
08 Feb, 2017 07:53 AM
08 Feb, 2017 07:45 AM