리스트에서(수정) 정보
리스트에서(수정)본문
리스트에서
첨부된이미지2개를 출력해서
출력된 이미지에 마우스오버하면 특정된 곳에
마우스오버한 이미지가 보이게하는 방법좀 가르쳐주세요 ㅠ모르겠어요 ㅠㅠ
간단한예제라도ㅠㅠㅠㅠ
----------------------
<script>
function chgImg( imgname ) {//, dnimgname, imgdesc
var LureExp = /<br>/gi;
document.gallery_img.src=imgname;
}
</script>
<img src="dddd" name=gallery_img width=100 height=100 border=0 value=0>
<?
//섬네일
$file = $list[$i][file][1][path] .'/'. $list[$i][file][1][file];
if (preg_match("/\.(jpg|gif|png|jpeg)$/i", $file) && file_exists($file) && !$list[$i][icon_secret]) {
$image=thumbnail($file, $gsg_width, $gsg_height, 0, 1, 90, 0);
?>
<td align="center" style="cursor:hand;" onclick='location.href="<?=$list[$i][href];?>&sca=<?=$sca;?>&cstyle=<?=$cstyle;?>&geosigi_manse=<?=$geosigi_mase;?>&dt=<?=$dt;?>&thema=<?=$thema;?>"'>
<a href="#" ><span <? echo "onMouseOver=\"chgImg( '".$image."','".$image."','' );\"" ?>><img src="<?=$image;?>" border=0></span></a>
</td>
<? } ?>
이케해도안되요 ㅠㅠㅠㅠㅠㅠ
view에서는되는ㄷ데 ㅠㅠㅠ
이미지가 잘못됐더라도 엑박이라도 뜨던데...
list라서 각각의 id값을 못받아오는건가봐요ㅠ
첨부된이미지2개를 출력해서
출력된 이미지에 마우스오버하면 특정된 곳에
마우스오버한 이미지가 보이게하는 방법좀 가르쳐주세요 ㅠ모르겠어요 ㅠㅠ
간단한예제라도ㅠㅠㅠㅠ
----------------------
<script>
function chgImg( imgname ) {//, dnimgname, imgdesc
var LureExp = /<br>/gi;
document.gallery_img.src=imgname;
}
</script>
<img src="dddd" name=gallery_img width=100 height=100 border=0 value=0>
<?
//섬네일
$file = $list[$i][file][1][path] .'/'. $list[$i][file][1][file];
if (preg_match("/\.(jpg|gif|png|jpeg)$/i", $file) && file_exists($file) && !$list[$i][icon_secret]) {
$image=thumbnail($file, $gsg_width, $gsg_height, 0, 1, 90, 0);
?>
<td align="center" style="cursor:hand;" onclick='location.href="<?=$list[$i][href];?>&sca=<?=$sca;?>&cstyle=<?=$cstyle;?>&geosigi_manse=<?=$geosigi_mase;?>&dt=<?=$dt;?>&thema=<?=$thema;?>"'>
<a href="#" ><span <? echo "onMouseOver=\"chgImg( '".$image."','".$image."','' );\"" ?>><img src="<?=$image;?>" border=0></span></a>
</td>
<? } ?>
이케해도안되요 ㅠㅠㅠㅠㅠㅠ
view에서는되는ㄷ데 ㅠㅠㅠ
이미지가 잘못됐더라도 엑박이라도 뜨던데...
list라서 각각의 id값을 못받아오는건가봐요ㅠ
Fatal error: Uncaught TypeError: mysqli_fetch_assoc(): Argument #1 ($result) must be of type mysqli_result, null given in /home/kagla/new-sir/old/lib/common.lib.php:2339 Stack trace: #0 /home/kagla/new-sir/old/lib/common.lib.php(2339): mysqli_fetch_assoc() #1 /home/kagla/new-sir/old/skin/board/v16/view.skin.php(795): sql_fetch_array() #2 /home/kagla/new-sir/old/bbs/view.php(403): include_once('...') #3 /home/kagla/new-sir/old/bbs/board.php(300): include_once('...') #4 {main} thrown in /home/kagla/new-sir/old/lib/common.lib.php on line 2339