Home  >  Article  >  Web Front-end  >  What are the parameters of the IE web page pop-up window?

What are the parameters of the IE web page pop-up window?

php中世界最好的语言
php中世界最好的语言Original
2018-02-07 09:59:172283browse

This time I will bring you what are the parameters of the IE web page pop-up window, and what are the precautions when using the IE web page pop-up window parameters. The following is a practical case, let's take a look.

The pop-up has nothing to do with whether your current window has a menu toolbar. You just need to write a script in the page and it will pop up. For example,

<a href=# onclick="window.open(&#39;xxx.aspx&#39;,&#39;窗口名称&#39;,&#39;参数&#39;);">xxxxx</a>

The following are some pop-up windows. You can set the parameters by yourself. Use commas to separate the parameters.

is optional. String--List object tables separated by commas. Each item has its own value, and they will be separated (eg: "fullscreen=yes, toolbar=yes"). Below are the various features that are supported.
channelmode = { yes | no | 1 | 0 } Whether to display ladder mode in the window. The default is no.
directories = { yes | no | 1 | 0 } Whether to display various buttons in the window. The default is yes.
fullscreen = { yes | no | 1 | 0 } Whether to display the browser in full screen mode. The default is no. Be very careful when using this feature. Because this attribute may hide the browser's title bar and menu, you must provide a button or other prompt to help users close this browsing window. ALT+F4 can close the window. A full-screen window must use channel mode.
height = number specifies the height of the window, in pixels. The minimum value is 100.
left = number specifies the distance between the window and the left border, in pixels. Value must be greater than or equal to 0.
location = { yes | no | 1 | 0 } Specifies whether to display the address bar in the window. The default is yes.
menubar = { yes | no | 1 | 0 } Specifies whether to display the menu bar in the window. The default is yes.
resizable = { yes | no | 1 | 0 } Specifies whether to display a handle in the window that can be resized by the user. The default is yes.
scrollbars = { yes | no | 1 | 0 } Specifies whether to display horizontal or vertical scroll bars in the window. The default is yes.
status = { yes | no | 1 | 0 } Specifies whether to display the status bar in the window. The default is yes.
titlebar = { yes | no | 1 | 0 } Specifies whether to display the title bar in the window. In the case of non-calling HTML Application or a dialog box, this item will be ignored. The default is yes.
toolbar = { yes | no | 1 | 0 } Specifies whether to display the toolbar in the window, including buttons such as forward, back, stop, etc. The default is yes.
top = number specifies the position of the top of the window, in pixels. Value must be greater than or equal to 0.
width = number specifies the width of the window, in pixels. The minimum value is 100.

I believe you have mastered the methods after reading these cases. For more exciting information, please pay attention to other related articles on the php Chinese website!

Related reading:

Solution to the invalid margin-top element in the div tag

What about the subpages of iframe Operate the parent page to shield the page pop-up layer effect

How to operate the default style of the a tag

The above is the detailed content of What are the parameters of the IE web page pop-up window?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn