0

I would like to create a context menu using jquery ui.

Here is the behavior:

on hover show the populated context menu.

How can I implement this? Assume that i do not have a place holder on the dom. I have only the x,y coordinate of where the hover event happened.

based on the documentation on the jquery ui site, there is only the markup way of creating the menu. http://api.jqueryui.com/menu/

1 Answer 1

1

keep the menu hidden capture the mouse coordinates on hover event on a specific location and show the menu and hide it again on mouseout from the area and menu

A DEMO to get you started

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.