마우스 오버시 이미지 색깔 바뀌는 소스를.. 정보
마우스 오버시 이미지 색깔 바뀌는 소스를..본문
최신게시물에서 이미지 위에 마우스 올리면
색깔 바뀌게 하는 소스를 집어넣을려고 하는데
따옴표 (" ) 하고 ( ') 하고 때문에 자꾸 에러나네요.
echo 로 어떻게 하는것 같기도 하고..모르겠네요.
도와주세요~~
최신글 원본소스중:
$img = "<img src='$thumb' width='100' height='75' border=0 align=center style='margin-right:5px; border:0 #222222 solid;' >";
집어넣으려는 소스
onmouseover="this.style.filter='gray'" onmouseout="this.style.filter=''"
색깔 바뀌게 하는 소스를 집어넣을려고 하는데
따옴표 (" ) 하고 ( ') 하고 때문에 자꾸 에러나네요.
echo 로 어떻게 하는것 같기도 하고..모르겠네요.
도와주세요~~
최신글 원본소스중:
$img = "<img src='$thumb' width='100' height='75' border=0 align=center style='margin-right:5px; border:0 #222222 solid;' >";
집어넣으려는 소스
onmouseover="this.style.filter='gray'" onmouseout="this.style.filter=''"
댓글 전체

onmouseover='this.style.filter="gray"' onmouseover='this.style.filter=""'
이렇게 쓰셔도 안되시던가요?
이렇게 쓰셔도 안되시던가요?
$img = "<img src='$thumb' width='100' height='75' border=0 align=center style='margin-right:5px; border:0 #222222 solid;' onmouseover='this.style.filter=\"gray\"' onmouseover='this.style.filter=\"\"'>";
감사합니다..해결했습니다.