Ask the Expert

Can I dynamically change applet action bar default colors without Domino Designer?

I'm working on a Webmail customization and I've come across some problems.

Is there a way to dynamically change the default colors of the applet action bar without using Domino Designer? I've tried via JavaScript inserting some code inside the form containing the applet.

This is a code sample:
document.applets[0].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.

This was first published in June 2003

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: