-
Notifications
You must be signed in to change notification settings - Fork 66
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
Context menu #1757
Comments
refs #1123 (closed) |
What do you think about something like that: |
Simple but terrific :-) |
the style we can change in the stylesheet. the question for me is more if we want to support something with right mouse click. this is unusable with touch devices. |
For activating the context menu itself we are using left clicks. The generator extends Zikula.UI.ContextMenu so that you can left-click or right-click the menu entries though. While a left click just redirects to the corresponding page ( |
@Guite Check this one: http://medialize.github.io/jQuery-contextMenu/ Need to review this because there's no docs in code and I don't remember what was added to original plugin. But back then context menu from medialize was the best jQuery based context menu I found. |
@jusuff I have two questions about http://medialize.github.io/jQuery-contextMenu/
while we would need
|
@Guite there is a context menu (dropdown) already in bootstrap.
|
@phaidon I would love to reuse Bootstrap dropdown menus for that instead of introducing another component. As I wrote in the initial issue text it seems not that easy though to make a context menu with it (open on left and/or right click, positioning at the mouse cursor, etc.). Please see http://stackoverflow.com/questions/18666601/use-bootstrap-3-dropdown-menu-as-context-menu with regards to this. Any idea how to handle this? Maybe a thin wrapper layer encapsulating Bootstrap dropdown would be reasonable? |
the pure bootstrap dropdown supports left click on a given element. Right click is imho broken by design, but if you really need I can add it.
the pure bootstrap dropdown is placed under the calling element. Is that not good?
What else do you need? |
You are right... let me rethink this after I implemented the new tree ;-) |
Closed since the pure bootstrap dropdown is sufficient. If usability problems occur we can still approach them in a later version of course. |
For reference: https://github.com/sydcanem/bootstrap-contextmenu |
For reference: https://github.com/jakiestfu/Context.js |
The core doesn't have a good replacement for Zikula.UI.ContextMenu yet.
One can use bootstrap dropdown menus for it, but it becomes a bit ugly (much manual code): http://stackoverflow.com/questions/18666601/use-bootstrap-3-dropdown-menu-as-context-menu
Another possibility is https://github.com/zikula/core/tree/1.4/src/javascript/plugins/jQuery-contextMenu which isn't prepared for bootstrap yet though.
The text was updated successfully, but these errors were encountered: