Javascript window. Open Parameters

Source: Internet
Author: User

Window. Open parameters:
[Export cipt:] window. Open ("webpage. asp? ", 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, 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: the URL of the new window
Name: name of the new window. It can be blank.
Featurse: attribute control string. properties in this control window are separated by commas.
Fullscreen = {yes/no/1/0} is full screen, no by default
Channelmode = {yes/no/1/0}: whether to display the channel bar. The default value is no.
Toolbar = {yes/no/1/0} indicates whether to display the toolbar. The default value is no.
Location = {yes/no/1/0} indicates whether the address bar is displayed. The default value is no.
Directories = {yes/no/1/0} whether to display the turn button. The default value is no.
Status = {yes/no/1/0} indicates whether window status entries are displayed. The default value is no.
Menubar = {yes/no/1/0}: whether to display the menu. The default value is no.
Scrollbars = {yes/no/1/0} whether to display 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 window width (in pixels)
Height = Number window height (in pixels)
Top = number the distance between the window and the top of the screen (in pixels)
Left = number the left distance of the window from the screen (in pixels)

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.