|
Closing a Web page using JavaScript -- you could use window.close(0).
When hiding elements on a Page (which is a design element in a Lotus Notes database), I would have a look at the property box. Say, if you want to hide some text, mark the text, open the property box (Edit-> Properties), then switch to tab number five, it will say "Hide paragraph from" at the top of this tab.
Click "Hide paragraph if formula is true." Then fill in a formula in the formula window at the bottom of the tab. Here is an example:
@IsNotMember("[Admin]";
@UserRoles)
This example will hide the text if the user does not have the [Admin] role in the ACL of the current database.
Do you have comments on this Ask the Expert question and response? Let us know.
|