웹프로그래밍

Global It Leader!!


jQuery


 
 

더블클릭시 한번은 상단, 한번은 하단으로 화면 스크롤하기

페이지 정보

작성자 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 댓글 0건 조회 6,518회 작성일 10-10-03 10:54

본문

<script language="javascript">
function totopbottom()
{
    if (document.body.scrollHeight <= (document.body.clientHeight+document.body.scrollTop))
  {
        window.scrollTo(0,0);
    }
    else
    {
        window.scrollTo(0, document.body.scrollHeight);
    }
}
function topbottom()
{
    document.body.ondblclick = totopbottom;
}

topbottom();
</script>

댓글목록

등록된 댓글이 없습니다.

전체 149
게시물 검색
jQuery 목록
번호 제목 글쓴이 조회 날짜
9 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 6465 04-05
8 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 6446 12-16
7 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 7112 11-10
열람중 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 6519 10-03
5 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 8202 08-28
4 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 8542 06-15
3 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 7010 05-10
2 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 11362 04-29
1 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 9016 03-14