리스트에서(수정) 정보
리스트에서(수정)본문
리스트에서
첨부된이미지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값을 못받아오는건가봐요ㅠ
( select a.* , ( select sum(co_count) as co_count from g4_qa_choose where mb_id=a.mb_id and bo_table = 'g4_qa' ) as q_co_count from `g4_write_g4_qa` a where wr_parent = '221715' and wr_8 != '' and wr_is_comment = 1 and CONVERT(wr_7, UNSIGNED) >= 5 group by wr_content having max(wr_7) order by CONVERT(wr_7, UNSIGNED) desc limit 3 )
1055 : Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'sir.a.wr_id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
error file : /15sir/bbs/board.php