egroupware/phpgwapi/templates/default/scripts.js
2003-04-24 01:34:44 +00:00

25 lines
430 B
JavaScript

var popupw;
function openwindow(url,width,height)
{
if (popupw)
{
if (popupw.closed)
{
popupw.stop;
popupw.close;
}
}
popupw = window.open(url, "popupWindow","width=" + width + ",height=" + height + ",location=no,menubar=no,directories=no,toolbar=no,scrollbars=yes,resizable=yes,status=no");
if (popupw.opener == null)
{
popupw.opener = window;
}
}
function done()
{
popupw.close()
}