[thelist] window.resize / window.open (JavaScript)

Mark Joslyn mark.joslyn at solimarsystems.com
Wed Jul 3 12:09:12 CDT 2002

I have a login page that I want to open in a smaller browser window and I
want that window to be chromeless.
This is not triggered by clicking a link, but when someone types in a web

I have tried window.resize and that works, but I can't figure out how to
assign the chromeless properties using this function.

Anyone know how to:
	1. Open a new browser window (not a clicked link)
	2. Resize it to 500x300
	3. Move it to 100, 100
	4. Make it chromeless

This is my next choice, but not very clean(I would rather not use this).
My next solution was to use a launcher window using an onLoad function in
the <BODY> tag:

<script language="JavaScript">
function opener() {


<body onLoad="opener()" onBlur="window.close()">

This works, but the onBlur function causes IE to display a dialog box to
verify if I want the window to close. Is there a way to close the launcher
window without the user having to click "YES" in the dialog box?

More information about the thelist mailing list