sURL |
Optional. String --Specifies the URL address of the new document. If this item is not specified, it will be an empty (About:blank). |
Sname |
Optional. string -the name of the newly generated window. Can be used as a value for the form or target in a. |
Blank |
sURL is loaded into a new unnamed window. |
_media |
The surl is loaded into a media bar. (only for IE6 and later versions of browsers) |
_parent |
The surl is loaded onto the upper frame of the current frame. If there is no upper frame, the value of this item is the same as the value of _self. |
_search |
sURL is opened in the browser's lookup window. (For IE5 and later browsers only) |
_self |
sURL opens on the current window, overwriting the previous content. |
_top |
sURL may be loaded onto any frame bracket (Frameset), and if Frameset is not defined, this value is the same as the _self value. |
Sfeatures |
Optional. string --Lists the object tables and separates them with commas. Each item has its own value, and they will be separated (e.g. "fullscreen=yes, Toolbar=yes"). Here are the various features that are supported. |
Channelmode = {Yes | no | 1 | 0} |
Whether to display the Step 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. You need to be very careful when using this feature. Because this property may hide the browser's title bar and menu, you must provide a button or other hint to help the user close the browsing window. ALT+F4 can close the window. A full-screen window must use the step (channelmode) mode. |
Height = number |
Specifies the height of the window, in pixels. The minimum value is 100. |
left = number |
Specifies the distance, in pixels, of the window from the left border. Value must be greater than or equal to 0. |
Location = {Yes | no | 1 | 0} |
Specifies whether the address bar is displayed in a window. The default is Yes. |
menubar = {yes | no | 1 | 0} |
Specifies whether the menu bar is displayed 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 a horizontal or vertical scroll bar in a window. The default is Yes. |
Status = {Yes | no | 1 | 0} |
Specifies whether the status bar is displayed in the window. The default is Yes. |
titlebar = {Yes | no | 1 | 0} |
Specifies whether the title bar is displayed in the window. This item is ignored if you are not calling an HTML application or a dialog box. The default is Yes. |
toolbar = {Yes | no | 1 | 0} |
Specifies whether to display a toolbar in a window, including buttons such as forward, rewind, stop, and so on. The default is Yes. |
top = number |
Specifies the position at 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. |
Breplace |
Optional. When sURL is loaded into the same window, the boolean variable Specifies whether the sURL creates a new entry, or adds it to the current history of the window. |
True |
sURL Overwrites the history of the current document. |
False |
sURL creates a new entry in the history record. |