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

Context menu #16

Open
emanb29 opened this issue Mar 17, 2015 · 2 comments
Open

Context menu #16

emanb29 opened this issue Mar 17, 2015 · 2 comments

Comments

@emanb29
Copy link

emanb29 commented Mar 17, 2015

A good quick thing to fix would be making a custom context menu. Since ideally this will be for nodeOS, but will also likely be implemented in webkit-based applications, it's worth looking for a cross-platform solution. I know html5 specifications have an API for this (contextmenu attr/menu elem), though at the moment only firefox supports it. Still, there are workarounds with cancelling the rightclick action and replacing it with a

with absolute positioning

@zodern
Copy link
Member

zodern commented Mar 23, 2015

Silk will run in chrome on NodeOS, so the html5 won't work for now.

There are many jquery plugins. https://github.com/medialize/jQuery-contextMenu looks like a good option.

@emanb29
Copy link
Author

emanb29 commented Mar 23, 2015

Yeah, I assumed we'd be running on some variant of Blink/webkit. jQuery-contextMenu could be an option, though the style is a bit inconsistent with the rest of Silk

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