The size of the window opened by the html hyperlink.

Source: Internet
Author: User

[Convert] html hyperlink window size, hyperlink window size

<a href="#" onclick="javascript:window.open('http://www.baidu.com','','height=20,width=20,top=0,left=0,toolbar=no,menubar=no,scrollbars=no, resizable=no,location=no, status=no')">aaaaaaaaaaaaaaa</a>

 

============================== Various parameters ============
Here, yes/no can also use 1/0; pixel value is a specific value, in pixels.
Parameters
Value Range
Description
alwaysLowered
yes/no
Specifies that the window is hidden behind all windows
alwaysRaised
yes/no
Specify that the window is suspended above all windows
depended
yes/no
Close at the same time as the parent window
directories
yes/no
Is the directory bar of Nav2 and 3 visible?
height
pixel value
Window height
hotkeys
yes/no
Set the Security Exit hotkey in the window without 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
Is the position column visible?
menubar
yes/no
Whether the menu bar is visible
outerHeight
pixel value
Set the pixel height of the window (including the decorative border)
outerWidth
pixel value
Set the pixel width of the window (including the decorative border)
resizable
yes/no
Adjustable window size
screenX
pixel value
Pixel length between the window and the left boundary of the screen
screenY
pixel value
Pixel length of the window from the upper boundary of the screen
scrollbars
yes/no
Whether the window has a scroll bar
titlebar
yes/no
Is the window question bar visible?
toolbar
yes/no
Whether the window toolbar is visible
Width
pixel value
Pixel width of the window
z-look
yes/no
Whether the window floated above other windows after being activated

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.