Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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);


}

1

0 votes


Be the first one to answer this question!

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,937

Question asked: Mar 28 '12, 4:40 p.m.

Question was seen: 4,230 times

Last updated: Mar 28 '12, 4:40 p.m.

Confirmation Cancel Confirm