Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript_howto thread: Window.open size in NS Navigator


Message #1 by "Joe Muldoon" <jmuldoon@q...> on Fri, 3 Aug 2001 16:22:52
The window.open code I'm using works fine in IE. In NS 4.08, though, it 
fills the new window fills the whole screen. Here's the code:

	<SCRIPT LANGAUGE="javascript">
	<!-- Hide from Non-JS browsers 
	function NavHelp()
		{
		HelpWindow=window.open("../helpscreen.asp", "SuHelp",
			"toolbar=0, width=500, height=300, dependent, 
fullscreen=0, resizable=1, scrollbars=1, screenx=10, screeny=10");
			}
	// end hiding --> 
	</SCRIPT>

I call it with this:
<a href=""javascript:NavHelp()"">...text..</a>

I tried using innerwidth, but that didn't do it.

Where am I going wrong here?

Thanks,

Joe M

  Return to Index