상단 고정 스크립트 팁
컨텐츠 정보
- 19,571 조회
 - 0 추천
 - 목록
 
본문
<script type="text/javascript">
jQuery(function($){
    $(window).scroll(function(){
        if ($(this).scrollTop() > 높이) {
            $('#대상 ID').css({position:'fixed',zIndex:60,top:0,right:0,left:0});
        } else {
            $('#대상 ID').css({position:'static'});
        };
    });
});
</script>
요렇게 위에 선언해주시고 알맞게 수정해주시면 된답니다.
			관련자료
- 
			링크
 
			댓글 0
					
			
				등록된 댓글이 없습니다.