Changes

Jump to: navigation, search

JavaScript Window Object

492 bytes added, 19:11, 9 May 2007
Opening Browser Windows using JavaScript
</tr>
</table>
 
The height, width and postion feature are set using numbers. The remaining feature options can be set using ''true'' or ''false'' values (also ''yes'', ''no'' and ''1'' and ''0'' can be used in place of ''true'' and ''false''). An absent attribute is considered to be false. The following example creates a new window with a menubar, specific dimension and no toolbar:
 
<pre>
 
newWindowObj = window.open("URL", "WindowName", "toolbar=0, menubar=1, innerHeight=200, innerWidth=300");
 
</pre>

Navigation menu