It's all about the answers!

Ask a question

Adding action on the Jazz JS Theme


Fabrice Mendes (837) | asked Jun 20 '18, 10:07 a.m.

I've dowloaded the JS example from this link https://jazz.net/wiki/bin/view/Main/WebUITheming
and It sucessfully display. So now, I'd like to have an action when I click on one button. Either having an alert, or have a console message or have another menu.
Does someone know How do do this?
Regards, Fabrice
 


Comments
Ralph Schoon commented Jun 20 '18, 11:59 a.m. | edited Jun 20 '18, 12:02 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

I think you would have to use javascript (and dom/css).

https://jazz.net/forum/questions/245125/theme-with-custom-javascript shows some more. You would define a button in one of the theme areas and then define an javaScript onclick handler. Not sure if my wording is correct.

Maybe interesting as well: https://jazz.net/forum/questions/24649/jazz-server-web-gui-themes-templates
https://jazz.net/forum/questions/238073/how-to-refer-images-on-custom-themes

Be the first one to answer this question!


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.