Legacy Mac OS X Reference Library Apple Developer Connection

JSModalWindow

This component appears as a hyperlink in the browser. When the user clicks it, the result displays in a modal-like window.

Synopsis

JSModalWindow { action=anAction; | pageName=pageName; height=height; width=width;

windowName=aString; [isResizable="YES"|"NO";] [showLocation="YES"|"NO";]

[showMenuBar="YES"|"NO";] [showScrollbars="YES"|"NO";] [showStatus="YES"|"NO";]

[showToolbar="YES"|"NO";] };

Bindings

action

Action method invoked when the user clicks the hyperlink that supplies the content for the modal-like window.

pageName

The WOComponent displayed when the user clicks the hyperlink that appears in the modal-like window.

height

Height, in pixels, of the window.

width

Width, in pixels, of the window.

windowName

A string specifying the window name to use in the TARGET attribute of the A tag. windowName can contain only alphanumeric or underscore (_) characters.

isResizable

Controls whether the window can be resized.

showLocation

Controls whether the window displays the URL.

showMenubar

Controls whether the window has a menu bar.

showScrollbars

Controls whether the window has scroll bars.

showStatus

Controls whether the window has a status display.

showToolbar

Controls whether the window has a tool bar.



Last updated: 2004-12-02

Did this document help you? Yes It's good, but... Not helpful...