mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-21 04:09:55 +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) {
|
||||
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옵션 토글
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue