Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use tooltip as Pop Up Menu. Is this possible? #162

Open
mdmoura opened this issue Jul 13, 2013 · 1 comment
Open

Use tooltip as Pop Up Menu. Is this possible? #162

mdmoura opened this issue Jul 13, 2013 · 1 comment

Comments

@mdmoura
Copy link

mdmoura commented Jul 13, 2013

Hello,

Is it possible to have an unordered list (UL) inside the tooltip?

And have being able to move the mouse over the tooltip without making it disappear?

Basically, I would also like to use the tooltip as a popup menu.

Thank You,
Miguel

@MartinMartimeo
Copy link

I would suggest you have a look at the bootstrap tooltip and popover implementation at http://twitter.github.io/bootstrap/javascript.html#tooltips . But basicly yes all 3 are possible:

For the first one pass html: True in the arguments

The second one is a little bit trickier, but pass trigger: 'manual' in the arguments and add a click handler, for example with enriching all elements that have a tipsy class:
$('.tipsy').tipsy({trigger: 'manual'});
$('.tipsy').on('click', function () {$(this).tipsy("show")});

The third one I would realize via the jquery contextmenu plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants