mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-28 15:49:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@348 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
7cda2b4d3c
commit
3272d35cab
2 changed files with 15 additions and 3 deletions
|
|
@ -135,3 +135,15 @@ function setFixedPopupSize() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// url이동 (open_window 값이 N 가 아니면 새창으로 띄움)
|
||||||
|
function move_url(url, open_wnidow) {
|
||||||
|
if(typeof(open_wnidow)=='undefined') open_wnidow = 'N';
|
||||||
|
if(open_wnidow=='Y') {
|
||||||
|
var win = window.open(url);
|
||||||
|
win.focus();
|
||||||
|
} else {
|
||||||
|
location.href=url;
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@
|
||||||
<!--@end-->
|
<!--@end-->
|
||||||
|
|
||||||
<span {$selected_style}>
|
<span {$selected_style}>
|
||||||
<a href="#" onclick="location.href='{$val['href']}';return false;">{$val['text']}</a>
|
<a href="#" onclick="return move_url('{$val['href']}','{$val['open_window']}');">{$val['text']}</a>
|
||||||
</span>
|
</span>
|
||||||
<!--@end-->
|
<!--@end-->
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -35,7 +35,7 @@
|
||||||
<!--@end-->
|
<!--@end-->
|
||||||
|
|
||||||
<span {$selected_style}>
|
<span {$selected_style}>
|
||||||
<a href="#" onclick="location.href='{$val['href']}';return false;">{$val['text']}</a>
|
<a href="#" onclick="return move_url('{$val['href']}','{$val['open_window']}');">{$val['text']}</a>
|
||||||
</span>
|
</span>
|
||||||
<!--@end-->
|
<!--@end-->
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -50,7 +50,7 @@
|
||||||
<!--@end-->
|
<!--@end-->
|
||||||
|
|
||||||
<span {$selected_style}>
|
<span {$selected_style}>
|
||||||
<a href="#" onclick="location.href='{$val['href']}';return false;">{$val['text']}</a>
|
<a href="#" onclick="return move_url('{$val['href']}','{$val['open_window']}');">{$val['text']}</a>
|
||||||
</span>
|
</span>
|
||||||
<!--@end-->
|
<!--@end-->
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue