git-svn-id: http://xe-core.googlecode.com/svn/trunk@598 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-03-22 04:13:20 +00:00
parent 40403fa897
commit ed7ff72591

View file

@ -16,11 +16,18 @@ function isDef() {
}
// 윈도우 오픈
var winopen_list = new Array();
function winopen(url, target, attribute) {
if(typeof(target)=='undefined') target = '_blank';
if(typeof(attribute)=='undefined') attribute = '';
var win = window.open(url, target, attribute);
win.focus();
if(target != "_blank" && winopen_list[target]) {
winopen_list[target].close();
winopen_list[target] = null;
}
if(typeof(target)=='undefined') target = '_blank';
if(typeof(attribute)=='undefined') attribute = '';
var win = window.open(url, target, attribute);
win.focus();
if(target != "_blank") winopen_list[target] = win;
}
// 특정 div(or span...)의 display옵션 토글