 |
|
|  |
|
 |
10년 전 |
<style type="text/css">
#my .hover {
cursor:pointer;
background-color:Yellow;
}
</style>
<script src="../js/jquery-1.3.2-vsdoc2.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function() {
$("#btn").click(function() {
$("#first")
.fadeIn('slow') // 서서히 보이기
.slideUp(3000); // 슬라이드업 : 숨기기
});
});
</script>
<input id="btn" type="button" value="슬라이드 업">
<div id="first" style="height: 100px; display: none; background-color: yellow;">
첫번째 영역
</div>
<div id="second">
두번째 영역
</div>
|
|
추천 : 502 |
추천
목록
|
|
|  |
|