마우스오버 첨부파일 채택완료
갤러리 썸네일 마우스오버 이벤트인데요
첨부파일1번이 리스트 썸네일 첫 이미지고 마우스오버 시 첨부파일2번이 되고 싶은데
저리 하니 안되더라고요~
무얼 더 넣어야할까요?
디자이너입니다~
</p>
<p><picture class="thumb">
<div class="gall_chk chk_box">
<?php if ($is_checkbox) { ?>
<input type="checkbox" name="chk_wr_id[]" value="<?php echo $list[$i]['wr_id'] ?>" id="chk_wr_id_<?php echo $i ?>" class="selec_chk">
<!--<label for="chk_wr_id_<?php echo $i ?>">
<span></span>
<b class="sound_only"><?php echo $list[$i]['subject'] ?></b>
</label>--></p>
<p> <?php } ?>
<span class="sound_only">
<?php
if ($wr_id == $list[$i]['wr_id'])
echo "<span class=\"bo_current\">열람중</span>";
else
// echo $list[$i]['num'];
?>
</span>
</div>
<?php
$thumb = get_list_thumbnail($board['bo_table'], $list[$i]['wr_id'], $board['bo_gallery_width'], $board['bo_gallery_height'], false, true);</p>
<p> if($thumb['src']) {</p>
<p> //오리지널
//$img_content = '<img src="'.$thumb['ori'].'" alt="'.$thumb['alt'].'" >';</p>
<p> $img_content = '<img src="'.$file[1]['path'].'/'.$file[1]['file'].'" onmouseover="'.$file[2]['path'].'/'.$file[2]['file'].'" onmouseout="'.$file[1]['path'].'/'.$file[1]['file'].'" >';</p>
<p> //오버이벤트
//$img_content = '<img src="'.$list['file'][1]['path'].'/'.$list['file'][1]['file'].'" alt="'.$thumb['alt'].'" onmouseover="'.$list['file'][2]['path'].'/'.$list['file'][2]['file'].'" //onmouseout="'.$list['file'][1]['path'].'/'.$list['file'][1]['file'].'" alt="" class="thumb">';</p>
<p>
} else {
$img_content = '<span class="no_image" style="'.$line_height_style.'">no image</span>';
}</p>
<p> echo run_replace('thumb_image_tag', $img_content, $thumb);
?> </p>
<p>
</picture></p>
<p>
댓글을 작성하려면 로그인이 필요합니다.
답변 2개
답변을 작성하려면 로그인이 필요합니다.
로그인전체 질문 목록
답변대기
답변대기
답변대기
답변대기
답변대기
답변대기
답변대기
답변대기
채택
답변대기
답변대기
답변대기
답변대기
채택
채택
답변대기
답변대기
답변대기
채택