It's all about the answers!

Ask a question

Adding logo images to themes - Web UI


0
1
Joseph Simon Arokiaraj (21414845) | asked Mar 28 '12, 4:40 p.m.
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);


}

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.