How to use WINDOW.Open and parameter description

xiaoxiao2021-03-06  67

How to use WINDOW.Open and parameter description

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, example:

After the script is running, page.html will open in the new form newwindow, width is 100, high is 400, the distance 0 pixels, the left 0 pixels, no toolbars, no menu, no roll

Schedule, non-adjustable size, no address bar, stateless bar. Please contact several parameters involved in the above example, there are many other parameters, please see IV. Fourth, the parameters of the parameters can also use 1/0; Pixel Value is a specific value, the unit pixel. Parameter Value Range Description ALWAYSLOWERED YES / NO Specify window Hide after all windows ALWAYSRAISED YES / NO Specify window Suspend in all windows Depended Yes / No and the parent window while closing Directories Yes / NO NAV2 and 3 Directories Yes / NO NAV2 and 3 Height Pixel Value Window Height HotKeys Yes / NO Sets Safety Exit Hotkey InnnerHeight Pixel Value Window in the Pixel Value Pixel Width Location Yes / NO Location Bar Whether MenuBar Yes / No Menu bar can be seen OuterHeight Pixel Value Settings Window (including decorative borders) Pixel Widel Value Settings Window (including decorative borders) Pixel width resizable yes / no window size adjustable Screenx Pixel Value window Screen left border Pixel Length Screeny Pixel Value Window Screen On Boundary Pixel Length Scrollbars Yes / NO Window Can Scroll Bar TitleBar Yes / No Window Title Bar Visible Toolbar Yes / No Window Pixel Width Z-Look Yes / No window is activated Whether it floats above other windows

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

New Post(0)