windowName
The name to be assigned to the new window. The name can be used to re-access this window.
After opening the window, you will want to do all kinds of things with it, for example. move it and then you can do
<html> <head> <title>Window Example</title> </head> <SCRIPT language="JavaScript1.2"> function poponload() { testwindow= window.open ("", "mywindow"); alert('I will move window to 0,0'); testwindow.moveTo(0,0); } </SCRIPT> <body onload="javascript: poponload()"> <H1>Window Example</H1> </body> </html>
AND NO , not the window title is different.
- a source
source share