here some code to expalain my problem:
In file source code
js/zimbraMail/im/view/zmChatWidget.
js have this code:
ZmChatWidget.prototype._init = function() {
...
var btn = this._addToBuddyListBtn = new DwtLtIconButton(editorToolbar, null, "NewContact", null);
btn.setToolTipContent("-");
btn.getToolTipContent = AjxCallback.simpleClosure(this._getAddToBuddyListT ooltip, this);
btn.addSelectionListener(new AjxListener(this, this._addToBuddyListListener));
btn.setVisible(false);
.....
}
"NewContact" is an icon of zimbra system, here i want to use my icon to replace for "NewContact" icon. How to define an icon from my image?
please help me!