jQuery jQuery animation fade 예...
관련링크
본문
<!DOCTYPE html>
<html>
<head>
<script
src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script type="text/javascript">
$(function() {
var winWidth = $(document).width();
var duration = 1000;
$(document).click(function(event) {
$("#alien").animate({
opacity : 0,
}, duration);
});
});
</script>
</head>
<body>
<div id="alien">365ok.co.kr</div>
</body>
</html>
페이지 정보
[ 조회 247회 ] 작성일15-06-12 00:07