This repository has been archived by the owner on Aug 14, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new menu option
isHeader
for category headers
Close #100
- Loading branch information
Showing
5 changed files
with
7 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
733a4ff
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hm, I did a git pull and copied the latest min.js file and
isHeader
didn't work. Using theaddClass
as first suggest was OK, however, there is a CSS glitch: The header is in bold until mouse-over, then it shifts to normal font. I have no CSS messing with fonts, only default CSS from jQuiry-ui and jQuery-ui-contextmenu. Last, the header is clickable - I am not sure that is sensible - at least it is not how "categories" in jQuery-ui behaves.733a4ff
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The minified files will be available with the next release.
If it is clickable, then you might have set
uiMenuOptions
wrong?Problems should discussed here: #100
Here is a working demo
http://wwwendt.de/tech/demo/jquery-contextmenu/demo/index-1-12.html
733a4ff
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gotit, super!