PDA

View Full Version : A list of 'chromeless' window switches please


Jeepers
11-08-2002, 04:56 PM
I've just done a search to try and find out why my chromeless alert windows stopped working, I know now (what a bummer) so that's not a problem.
Could somebody post a list of all the switches that can be used to control the look of a window. The ones I know are:
toolbar, location, directories, status, menubar, scrollbars, resizable
I'm not trying to fill the screen, just have a small window to pop up and advise users of an error they have made, it also has a close window link (they all automatically close after 15 seconds as well).
Thanks Guys

joh6nn
11-08-2002, 09:58 PM
all: height, width, reiszable, location, menubar, scrollbars, status, toolbar

ie only: channelmode, left, top, fullscreen ( now works in mozilla )

ns4 only: dependent, innerHeight, innerWidth, outerHeight, outerWidth; screenX, screenY, directories

jkd
11-08-2002, 10:32 PM
You missed these for Moz:

# alwaysLowered
The window will always appear behind other windows.

# alwaysRaised
The window will always appear above other windows.

# centerscreen
The window will be centered on the screen when it is opened.

# dependent
The window will always appear relative to the window that opened it. If the window that opened the new window is moved, the new window is moved relative to it.

# dialog
The window is a dialog box, which may appear differently.

# modal
The dialog is modal. The window that opened it can't be interacted with until the modal window is closed.

# resizable
The user can resize the window.

:) Some of these may only work from XUL files however... might be something worth experimenting with.