mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-19 22:43:22 +01:00
25 lines
430 B
JavaScript
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()
|
|
}
|