I'm working on a Webmail customization and I've come across some problems.
This is a code sample:
document.applets.BGColor = "#0099CF"
But it doesn't work. I think it's related to the applet mechanism. Is there another way to do it? I'm working with Domino 5.0.5. Thanks in advance.
I don't know of a way to do what you're describing. Quite possibly there's not a way to change the color once the applet is loaded.
As a general rule when dealing with applets, Domino or otherwise, the properties of an applet are not necessarily the same as the parameters supplied when the applet is loaded (i.e., just because there's a parameter named BGColor doesn't mean that there's a property by that name). The properties and methods of the Action Bar applet are not published by Lotus, probably because the development team doesn't want to commit themselves to using the same programming interface in all future versions.
Perhaps you should consider using the HTML action bar instead; then you can use regular DHTML to set the cell background colors.
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.