사용자: 사이드뷰 ie6,7에서 오동작하는 것 수정

This commit is contained in:
whitedot
2013-02-01 16:36:06 +09:00
parent 46b6073526
commit 6d8e6d5568
2 changed files with 20 additions and 4 deletions

View File

@ -135,7 +135,7 @@ table a {color:#000;text-decoration:none}
.td_bignum {width:80px;text-align:center}
.td_mb_id {width:100px;text-align:center}
.td_nick {width:100px;text-align:center}
.td_name {width:100px;text-align:left}
.td_name {position:relative;width:100px;text-align:left}
.td_date {width:60px;text-align:center}
.td_datetime {width:110px;text-align:center}
.td_mng {width:80px;text-align:center}
@ -480,10 +480,10 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#494949;color:#f
/* 사이드뷰 */
.sv {display:inline-block;position:relative;font-weight:normal}
.sv .sv_wrap {display:none;margin-top:5px;border:1px solid #666;background:#484848}
.sv .sv_wrap {z-index:1000;display:none;margin-top:5px;border:1px solid #666;background:#484848}
.sv_nojs .sv_wrap {display:block}
.sv .sv_wrap a {display:inline-block;padding:3px;width:94px;border-bottom:1px solid #555;color:#fff !important}
.sv_on {z-index:1000;display:block !important;position:absolute;top:10px;left:20px;width:auto;height:auto !important;background:#ddd}
.sv_on {display:block !important;position:absolute;top:10px;left:20px;width:auto;height:auto !important;background:#ddd}
.sv_member,
.sv_guest {font-weight:bold}

View File

@ -64,6 +64,7 @@ if ($is_nogood) $colspan++;
<input type="hidden" name="sw" value="">
<table>
<caption><?=$board['bo_subject']?> 글목록</caption>
<thead>
<tr>
<th scope="col">번호</th>
@ -117,7 +118,7 @@ if ($is_nogood) $colspan++;
if (isset($list[$i]['icon_secret'])) echo $list[$i]['icon_secret'];
?>
</td>
<td class="td_name" style="z-index:2"><?=$list[$i]['name']?></td>
<td class="td_name"><?=$list[$i]['name']?></td>
<td class="td_date"><?=$list[$i]['datetime2']?></td>
<td class="td_num"><?=$list[$i]['wr_hit']?></td>
<? if ($is_good) { ?><td class="td_num"><?=$list[$i]['wr_good']?></td><? } ?>
@ -229,3 +230,18 @@ function select_copy(sw) {
</script>
<? } ?>
<!-- 게시판 목록 끝 -->
<!-- ie6,7에서 사이드뷰가 아래 사이드뷰에서 가려지는 현상 수정 -->
<!--[if lte IE 8]>
<script>
$(function() {
var $td_name = $(".td_name");
var count = $td_name.length;
$td_name.each(function() {
$(this).css("z-index", count);
count--;
});
});
</script>
<![endif]-->