Hi all!
I want to insert an image in Zimbra web client, e.g set an image for button in instant Message.I think i need to define a class equivalent with the image in a file .property. But i don't know how do this.
Hi all!
I want to insert an image in Zimbra web client, e.g set an image for button in instant Message.I think i need to define a class equivalent with the image in a file .property. But i don't know how do this.
Welcome to the forums
I believe you need to explain in a little more detail what you are trying to achieve ?
thanks you!
for example: when i set an image for button, i want to use the image created by me. How to do use an image from my desktop. I guess i have to define this image in a .property file or .css file. e.g images.css in /zimbra/img/images.css
How to do?
Last edited by thaotran; 04-07-2010 at 03:04 AM.
I have the same problem. If you have resolved the problem, please write down?
Thanks!
As the previous OP please try and really explain what you are trying to do. Perhaps attaching some code would help others to understand.
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!
For example: I have an icon in my computer and I want to use the icon in my zimlet. In my zimlet i have a button and i want to set a icon by command button.setImage(imageInfo)
Where and how to define imageInfo?
There are currently 1 users browsing this thread. (0 members and 1 guests)