mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-29 08:09:58 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@598 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
40403fa897
commit
ed7ff72591
1 changed files with 11 additions and 4 deletions
|
|
@ -16,11 +16,18 @@ function isDef() {
|
||||||
}
|
}
|
||||||
|
|
||||||
// 윈도우 오픈
|
// 윈도우 오픈
|
||||||
|
var winopen_list = new Array();
|
||||||
function winopen(url, target, attribute) {
|
function winopen(url, target, attribute) {
|
||||||
if(typeof(target)=='undefined') target = '_blank';
|
if(target != "_blank" && winopen_list[target]) {
|
||||||
if(typeof(attribute)=='undefined') attribute = '';
|
winopen_list[target].close();
|
||||||
var win = window.open(url, target, attribute);
|
winopen_list[target] = null;
|
||||||
win.focus();
|
}
|
||||||
|
|
||||||
|
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옵션 토글
|
// 특정 div(or span...)의 display옵션 토글
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue