Use the button to control how to open the properties of the new window

Source: Internet
Author: User

<! -- Put the following code in the <body> area -->
Copy codeThe Code is as follows:
<Form>
<Div align = "left">
<Input type = "button" Value = "open new window"
ONCLICK = "too many open('index.htm', 'sample', 'toolbar = yes, location = no, directories = no, status = no, menubar = yes,
Scrollbars = no, resizable = no, copyhistory = yes, width = 300, height = 200, left = 100, top = 100 ') ">
</Form>

<! -- Note: Change the link file test.htm to your path. The window parameters are as follows:
Toolbar = yes, display toolbar
Location = yes. The URL bar is displayed.
Directories = no, navigation bar
Status = no, status Bar
Menubar = yes, menu
Scrollbars = yes, scroll bar
Resizable = no, whether the size can be changed
Copyhistory = yes, history button
Width = 300, width
Height = 200 'High
Left = 100, 100 from left
Top = 100, 100 from top -->

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.