Create a dialogbox with Layers and javascript in Notes client?

Hello.

I need to create a dialogbox in a form with Layers and javascript in Notes client. the reason for this is that I do not want a modular dialogbox. I want the users to be able to switch to other tabs while the dialogbox is open.

Is it possible to hide the layers using javascript in a button ?

Thomas

http://www.notessidan.se

Subject: Create a dialogbox with Layers and javascript in Notes client ?

Yes, but Formula Language would be better, since the visibility of layers is controlled by hide-whens on the layer anchor. If you use JS, you can flip a field value to control the hide-when, but the form would have to be set to automatically refresh (which can hurt performance). With Formula Language you can simply refresh hide formulas after setting the flag field value.