Window.open use method and parameter description

xiaoxiao2021-03-19  190

1. Window.Open () support environment:

JavaScript1.0 / jscript1.0 / nav2 / ie3 / Opera3

Second, the basic syntax:

Window.open (PageURL, Name, Parameters)

among them:

PageURL is a child window path

Name is a sub-window handle

Parameters is a window parameter (separated by comma)

Third, various parameters

Among them, YES / NO can also use 1/0; Pixel Value is a specific value, unit pixel.

Parameter | Value range | Description

| | |

Alwayslowered | YES / NO | Specify window hidden after all windows

Alwaysraised | YES / NO | Specify window hover above all windows

Depended | YES / NO | Whether and the parent window close

Directories | Yes / NO | NAV2 and 3 Directory Columns visible

Height | Pixel Value | Window Height

HotKeys | YES / NO | Set safe exit hot keys in the window without a menu bar

InnerHeight | Pixel Value | Pixel Height of the document in the window

InnerWidth | Pixel Value | Pixel Width of the document in the window

Location | YES / NO | Whether the location bar is visible

MenuBar | YES / NO | Are the menu bar visible

OuterHeight | Pixel Value | Settings the pixel height of the window (including the decorative border)

OuterWidth | Pixel Value | Settings the pixel width of the window (including the decorative border)

Resizable | YES / NO | Whether the window size can be adjusted

Screenx | Pixel Value | Pixel Length from the Window Screen

Screeny | Pixel Value | Window Pixel Length

Scrollbars | YES / NO | Whether the window can have scroll bar

Titlebar | YES / NO | Whether the window topic bar is visible

Toolbar | YES / NO | Whether the window toolbar is visible

Width | Pixel Value | Pixel Width of Window

Z-Look | YES / NO | Whether the window is activated above other windows

转载请注明原文地址:https://www.9cbs.com/read-130065.html

New Post(0)