<style>
.shakeimage
{
position:relative
}
</style>
<script>
var rector=3
var stopit=0
var a=1
function init(which){
stopit=0
shake=which
shake.style.left=0
shake.style.top=0
}
function rattleimage(){
if ((!document.all&&!document.getElementById)||stopit==1)
return
if (a==1){
shake.style.top=parseInt(shake.style.top)+rector
}
else if (a==2){
shake.style.left=parseInt(shake.style.left)+rector
}
else if (a==3){
shake.style.top=parseInt(shake.style.top)-rector
}
else{
shake.style.left=parseInt(shake.style.left)-rector
}
if (a<4)
a++
else
a=1
setTimeout("rattleimage()",50)
}
function stoprattle(which){
stopit=1
which.style.left=0
which.style.top=0
}
</script>
그 다음 스크립트는 넣었으면 <body></body>안에 있는 이미지중 스크립트를 적용시킬 이미지를 찾아서 이미지 태그안에 이렇게 추가합니다. <class="shakeimage" onMouseover="init(this);rattleimage()" onMouseout="stoprattle(this)">
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 30 |
아우겐나이스
|
21년 전 | 4114 | |
| 29 |
아우겐나이스
|
21년 전 | 4492 | |
| 28 |
아우겐나이스
|
21년 전 | 3513 | |
| 27 | 21년 전 | 5897 | ||
| 26 | 21년 전 | 3173 | ||
| 25 | 21년 전 | 6150 | ||
| 24 | 18년 전 | 3707 | ||
| 23 | 21년 전 | 3701 | ||
| 22 | 21년 전 | 4289 | ||
| 21 | 21년 전 | 3881 | ||
| 20 | 21년 전 | 4289 | ||
| 19 | 21년 전 | 6734 | ||
| 18 | 21년 전 | 4784 | ||
| 17 | 21년 전 | 7028 | ||
| 16 | 21년 전 | 4225 | ||
| 15 | 21년 전 | 2686 | ||
| 14 | 21년 전 | 5019 | ||
| 13 | 21년 전 | 3445 | ||
| 12 |
Recluse
|
21년 전 | 3924 | |
| 11 |
아우겐나이스
|
21년 전 | 3607 | |
| 10 |
Recluse
|
21년 전 | 3446 | |
| 9 | 21년 전 | 4064 | ||
| 8 | 21년 전 | 5235 | ||
| 7 | 21년 전 | 4815 | ||
| 6 | 21년 전 | 5760 | ||
| 5 | 21년 전 | 4168 | ||
| 4 | 21년 전 | 4904 | ||
| 3 | 21년 전 | 4791 | ||
| 2 | 21년 전 | 3294 | ||
| 1 | 22년 전 | 4386 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기