Adding logo images to themes - Web UI
![]()
Hi All,
How are you doing? Have you guys got any hint for this link https://jazz.net/forums/viewtopic.php?t=7065? I like to add a gif image logo and create a new theme for RTC. We are using RTC 3.0.1. Banners and texts are apearing, but still I am not able to see the logo. Could you please take a look at the below code and update your valuable suggestions? Cheers, Jose Javascript code: dojo.require("jazz.util.theming"); (function() { /* * Aliases */ /* * Class */ dojo.declare("jazz.theme.AboveBannerWidget", , { // Properties //-----------------------------------------------------------> // ------------------------------------------------------------------------> /* * Templates */ templatePath: jazz.util.theming.themeFileUrl("templates/ThemeWidget.html"), /* * @param Object args * * @return AboveBannerWidget */ constructor: function(args) { this._label = "HELLO WORLD"; this._imagePath = jazz.util.theming.themeFileUrl("templates/visa.gif"); }, /* * @param void * * @return void * @overrides super */ postCreate: function() { this.inherited(arguments); // Instance Variables //-----------------------------------------------> // Initialization //---------------------------------------------------> this._initButton(); }, /* * @param void * * @return void */ _initButton: function() { var buttonElement = document.createElement("button"); buttonElement.type = "button"; buttonElement.innerHTML = "HELLO"; buttonElement.onclick=function() {alert("OnClick");} ; this._buttonSite.appendChild(buttonElement); } |