Can anyone recommend a context menu plugin that can be triggered by clicking on other HTML elements instead of just right-clicking? I've come across several jQuery plugins for context menus, but they all seem to require a right click to trigger. I want the context menu to appear when another element is clicked, not just automatically on a right click.
I'd prefer not to create this functionality manually because it involves a lot of considerations, such as:
- Default direction should be right and below the element
- If there's no space, it should change the display direction
- All the good features of a fully developed plugin
Is there an existing solution that meets these requirements, or will I have to build it from scratch?