ie6 지원 삭제
This commit is contained in:
15
js/common.js
15
js/common.js
@ -134,20 +134,7 @@ function no_comma(data)
|
|||||||
function del(href)
|
function del(href)
|
||||||
{
|
{
|
||||||
if(confirm("한번 삭제한 자료는 복구할 방법이 없습니다.\n\n정말 삭제하시겠습니까?")) {
|
if(confirm("한번 삭제한 자료는 복구할 방법이 없습니다.\n\n정말 삭제하시겠습니까?")) {
|
||||||
var iev = -1;
|
document.location.href = href;
|
||||||
if (navigator.appName == 'Microsoft Internet Explorer') {
|
|
||||||
var ua = navigator.userAgent;
|
|
||||||
var re = new RegExp("MSIE ([0-9]{1,}[\.0-9]{0,})");
|
|
||||||
if (re.exec(ua) != null)
|
|
||||||
iev = parseFloat(RegExp.$1);
|
|
||||||
}
|
|
||||||
|
|
||||||
// IE6 이하에서 한글깨짐 방지
|
|
||||||
if (iev != -1 && iev < 7) {
|
|
||||||
document.location.href = encodeURI(href);
|
|
||||||
} else {
|
|
||||||
document.location.href = href;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -4,24 +4,8 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
|||||||
|
|
||||||
<?php if ($is_admin == 'super') { ?><!-- <div style='float:left; text-align:center;'>RUN TIME : <?php echo get_microtime()-$begin_time; ?><br></div> --><?php } ?>
|
<?php if ($is_admin == 'super') { ?><!-- <div style='float:left; text-align:center;'>RUN TIME : <?php echo get_microtime()-$begin_time; ?><br></div> --><?php } ?>
|
||||||
|
|
||||||
<!-- ie6,7에서 사이드뷰가 게시판 목록에서 아래 사이드뷰에 가려지는 현상 수정 -->
|
|
||||||
<!--[if lte IE 7]>
|
|
||||||
<script>
|
|
||||||
$(function() {
|
|
||||||
var $sv_use = $(".sv_use");
|
|
||||||
var count = $sv_use.length;
|
|
||||||
|
|
||||||
$sv_use.each(function() {
|
|
||||||
$(this).css("z-index", count);
|
|
||||||
$(this).css("position", "relative");
|
|
||||||
count = count - 1;
|
|
||||||
});
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
<![endif]-->
|
|
||||||
|
|
||||||
<?php run_event('tail_sub'); ?>
|
<?php run_event('tail_sub'); ?>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
<?php echo html_end(); // HTML 마지막 처리 함수 : 반드시 넣어주시기 바랍니다.
|
<?php echo html_end(); // HTML 마지막 처리 함수 : 반드시 넣어주시기 바랍니다.
|
||||||
|
|||||||
Reference in New Issue
Block a user