- detailed description of window. Open parameters
for a summary of window. Open parameters (adapted from the parameter book), let's take a look at an example:
[window. Open ("webpage. asp? <% = Var %> ", Derek," Height = 100, width = 100, status = Yes, toolbar = Yes,
menubar = No, location = No "); this statement opens a new window. The page is webpage. ASP. The parameter is Var, the name is Derek, the height is 100, and the width is 100. The status bar and toolbar are displayed, and the menu and address are not displayed. The attribute parameters are summarized as follows:
window = object. open ([url] [, name] [, features] [, replace])
URL: URL of the new window
Name: the name of the new window, which can be blank
featurse: attribute control string. The properties of the new window are separated by commas.
fullscreen = {yes/no/1/0} indicates whether to display full screen. The default value is no.
channelmode = {yes/no/1/0} indicates whether to display the channel bar, no by default
toolbar = {yes/no/1/0} indicates whether to display the toolbar. No
location = {yes/no/1/0} indicates whether to display the address bar, no
directories = {yes/no/1/0} indicates whether to display the redirection button. No
Status = {yes/no/1/0} indicates whether to display the window status bar, default no
menubar = {yes/no/1/0} shows the menu, default no
scrollbars = {yes/no/1/0} shows the scroll bar, the default value is yes
resizable = {yes/no/1/0}. Whether the window size can be adjusted. The default value is no
width = Number (pixel unit)
Height = Number window height (pixel unit)
Top = Number window distance from the top of the screen (pixel unit)
left = number the left distance of the window from the screen (in pixels)