Closed ova2 closed 9 years ago
Are you talking about this? If so, go ahead and integrate it, I'd be happy to merge…
Wow, fast response. Yes, exactly this. :-) I will try to integrate theming later. I plan to use your menu for JSF component(s) in PrimeFaces Extensions project http://code.google.com/p/primefaces-extensions/
Thanks.
Should we always use themable menu then or per configuration "theming"=true/false?
If the current "style" (cough) can be converted to that UI-themening structure, go ahead. The basic idea would be to enable this widget to run without jQueryUI, though. So whatever you do, make sure it works without any additional components (like jQueryUI). But if they're present, their functionality (in this case that themeroller thingie) may be used.
In short: try to convert it to the theme thing, but make it work without jQuery UI being available.
Understood. Thanks. Nice dynamic menu by the way. This is what I need - build a dynamic menu without Ajax requests, on the client-side only. Look-&-feel should be better though.
I have themeroller-ized contextMenu at least for my limited purposes. Other people may need to use more/other themeroller classes, I stopped looking when it started working for me. Here is how I did it:
I believe that this most excellent plugin could be made themeroller friendly with the following adjustments:
Implementers would still need to figure what themeroller classes they would need (which is not trivial) but contextMenu would accommodate their needs.
Creating a Custom Theme in jQuery might help
jQuery UI Theming and jQuery UI Theming API might help on this front.
Here's an incomplete draft that highlights issues on both sides: http://jsbin.com/ojuqix/1/edit
Specifically:
Other then that its just a matter of adding the right classes to the root element and each item and their child.
I've started playing with this in the jqueryui-theme branch. I've noted some issues and questions in demo/jquery-ui-theme.html, in case anybody wants to have a crack at it
Hi,
Great context menu, but theming with jQuery ThemeRoller is totally missing. Can you add theming support please?
Thanks a lot in advance.