이거? 어떻게 움직이게 하나요? 제이쿼리인가요? 채택완료
myfree
10년 전
조회 8,991
http://m.ecdemo104168.cafe24.com/">http://m.ecdemo104168.cafe24.com/
위에 사이트 보시면, 아래 이미지 사이트가 나오는데요.
저 +2,000P 라는게 둥둥 위아래 위위아래로 움직이거든요.
이건 어떤 스크립트를 써야 움직이나요? ㅜㅜ
저도 쓰고싶은데 ㅜㅜ
댓글을 작성하려면 로그인이 필요합니다.
답변 1개
채택된 답변
+20 포인트
10년 전
</p><p><script src="<a href="<a href="http://code.jquery.com/jquery-1.11.1.js" target="_blank" rel="noopener noreferrer">http://code.jquery.com/jquery-1.11.1.js</a>"><a href="http://code.jquery.com/jquery-1.11.1.js" target="_blank" rel="noopener noreferrer">http://code.jquery.com/jquery-1.11.1.js</a></a>"></script>
<script src="<a href="<a href="http://code.jquery.com/ui/1.10.4/jquery-ui.min.js" target="_blank" rel="noopener noreferrer">http://code.jquery.com/ui/1.10.4/jquery-ui.min.js</a>"><a href="http://code.jquery.com/ui/1.10.4/jquery-ui.min.js" target="_blank" rel="noopener noreferrer">http://code.jquery.com/ui/1.10.4/jquery-ui.min.js</a></a>"></script>
<script>
$(window).load(function() {
$.fn.exBounce = function() {
var self = this;
(function runEffect() {
self.effect("bounce", { times:1 }, 1000, runEffect);
})();
return this;
};
$(document).ready(function() {
$("#box").exBounce();
});
});
</script>
<div id="box" style="width:40px; height:20px; background:#000;"><div></p><p>
위치랑 화살표 같은 건 알아서 하셔야 할 듯하네요.
http://nyaongii.dothome.co.kr/temp/wr_id59213.html">http://nyaongii.dothome.co.kr/temp/wr_id59213.html
로그인 후 평가할 수 있습니다
답변에 대한 댓글 2개
m
myfree
10년 전
우와 진짜 감사해요! 우아우아!! 직접 만들어주시다니 정말 대단합니다. 우아..
�
익명이오
9년 전
덕분에 잘 배우고 갑니다~감사합니다 ! 스크랩해갈께요~
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인