JavaScript Opens New Window Properties Settings

zhaozj2021-02-16  142

Width = 40 Sets the new window width to a specific pixel (400 in the example) Height = 300 Setting the height location = no setting in the new window Whether to display the address bar in a new window, the option is "Yes" or "No" MenuBar = No Set whether the menu Toolbar = NO determines if the new window displays the toolbar ("Back", "Home" and "Reload") status = no determines whether the new window displays the status bar. Warning: If there is no status bar, you may lose some of the user scrollbars = no to determine if a new window has a scroll bar unless you want to hide some content, don't use this option resizable = yes to determine if the user can zoom in right corner of the page. The new window screenx = 175 opens the left boundary to the right bound to the right bound to the upper boundary to the lower boundary to the lower boundary to the lower boundary to the lower boundary to the vertical distance indicated by pixel.

Function thebigpropper () {newwin = window.open ("URL", "THENEwwindow", "width = 400, height = 300, location = no, menubar = no, resizable = yes, screenx = 175, screeny = 175, status = NO, TOOLBAR = no ")}

转载请注明原文地址:https://www.9cbs.com/read-7886.html

New Post(0)