휠로 이미지 크기 제어 정보
기타 휠로 이미지 크기 제어본문
돌아다니다 재밌는 소스 발견
이미지 위에서 휠을 돌려 보세요.
이미지의 크기가 변합니다.
<script> function resizepic(thispic) { if(thispic.width>570) thispic.width=570; } function bbimg(o) { var zoom=parseInt(o.style.zoom, 10)||100; zoom+=event.wheelDelta/12; if (zoom>0) o.style.zoom=zoom+'%'; return false; } function CheckComment(){ fcm.submit(); fcm.s.disabled=true; } function AddFav() { window.external.AddFavorite(location.href,document.title) } </script> <div style="width:640px; overflow: hidden;"> <A href="http://ec.ne.kr" target=_blank><IMG onmousewheel="return bbimg(this)" alt="" src="http://ec.ne.kr/logo.gif" onload=resizepic(this) border=0></A><BR></div>
[이 게시물은 관리자님에 의해 2011-10-31 17:16:08 PHP & HTML에서 이동 됨]
추천
0
0
댓글 0개