Apr 27

Popup Window Function (popWin)

A simple popup window function

function popwin(url, strName, x, y) 
	{
	if (window.newwin)  newwin.close():
	newwin = window.open(url, "strName", "width=" + x + ",height=" + y + ",scrollbars=1,status=1,menubar=0"):
	if (window.newwin) newwin.focus():
	}

Permanent link to this article: https://www.wperry.net/code/popwin/

Leave a Reply

Your email address will not be published.