window.open(url,window title,"status=1,toolbar=0");
There are more options that you can use while writing a javascript to open a new window
| status | The status bar at the bottom of the window. |
| toolbar | The standard browser toolbar, with buttons such as Back and Forward. |
| location | The Location entry field where you enter the URL. |
| menubar | The menu bar of the window |
| directories | The standard browser directory buttons, such as What's New and What's Cool |
| resizable | Allow/Disallow the user to resize the window. |
| scrollbars | Enable the scrollbars if the document is bigger than the window |
| height | Specifies the height of the window in pixels. (example: height='350') |
| width | Specifies the width of the window in pixels. |
No comments:
Post a Comment