jquery 스크롤바
꽤 유명한
이쁜 스크롤 생기는 jquery 입니다 가로스크롤 이미지만 잘 입히면 꽤 이쁩니다.
이쁜 스크롤 생기는 jquery 입니다 가로스크롤 이미지만 잘 입히면 꽤 이쁩니다.
테스트 화면 ; http://manos.malihu.gr/tuts/jquery_custom_scrollbar.html
다운로드 : http://manos.malihu.gr/jquery-custom-content-scroller
다운로드 : http://manos.malihu.gr/jquery-custom-content-scroller
부드럽게 스크롤 해줍니다
압축푸시고 jquery_custorm_scrollbar.html 여시면 테스트 화면과 동일합니다
열어보시면
제일 하단에 보시면 이부분이 컨트롤 부분입니다
function mCustomScrollbars(){
//malihu custom scrollbar function parameters:
//1) scroll type (values: "vertical" or "horizontal") //"#mcs5_container" 제일 하단 모델입니다
//2) scroll easing amount (0 for no easing) // 이동 방법입니다 값이 크면 클수록 시간이 이동 시간이 깁니다
//3) scroll easing type // jquery.easing.1.3.js 에 기능이 있습니다 easeInQuad , easeOutCirc ....
//4) extra bottom scrolling space for vertical scroll type only (minimum value: 1)// 수직 스크롤만 생깁니다 하단에 여백을 정의합니다
//5) scrollbar height/width adjustment (values: "auto" or "fixed") //스크롤을 고정으로 할지를 보여줍니다
//6) mouse-wheel support (values: "yes" or "no") //마우스 휠사용할것인지를 보여줍니다
//7) scrolling via buttons support (values: "yes" or "no") //수평 스크롤보시면 좌우 버튼을 사용할것인지를 알려줍니다
// 8) buttons scrolling speed (values: 1-20, 1 being the slowest) //버튼을 눌렀을때 이동시간을 정의합니다
$("#mcs_container").mCustomScrollbar("vertical",400,"easeOutCirc",1.05,"auto","yes","yes",10);
$("#mcs2_container").mCustomScrollbar("vertical",0,"easeOutCirc",1.05,"auto","yes","no",0);
$("#mcs3_container").mCustomScrollbar("vertical",900,"easeOutCirc",1.05,"auto","no","no",0);
$("#mcs4_container").mCustomScrollbar("vertical",200,"easeOutCirc",100,"fixed","yes","no",0);
$("#mcs5_container").mCustomScrollbar("horizontal",500,"easeOutCirc",1,"fixed","yes","yes",20);
}
있습니다 수정하시면 되고요. 혹몰라 간단한 주석을 달아 놨습니다
압축푸시고 jquery_custorm_scrollbar.html 여시면 테스트 화면과 동일합니다
열어보시면
제일 하단에 보시면 이부분이 컨트롤 부분입니다
function mCustomScrollbars(){
//malihu custom scrollbar function parameters:
//1) scroll type (values: "vertical" or "horizontal") //"#mcs5_container" 제일 하단 모델입니다
//2) scroll easing amount (0 for no easing) // 이동 방법입니다 값이 크면 클수록 시간이 이동 시간이 깁니다
//3) scroll easing type // jquery.easing.1.3.js 에 기능이 있습니다 easeInQuad , easeOutCirc ....
//4) extra bottom scrolling space for vertical scroll type only (minimum value: 1)// 수직 스크롤만 생깁니다 하단에 여백을 정의합니다
//5) scrollbar height/width adjustment (values: "auto" or "fixed") //스크롤을 고정으로 할지를 보여줍니다
//6) mouse-wheel support (values: "yes" or "no") //마우스 휠사용할것인지를 보여줍니다
//7) scrolling via buttons support (values: "yes" or "no") //수평 스크롤보시면 좌우 버튼을 사용할것인지를 알려줍니다
// 8) buttons scrolling speed (values: 1-20, 1 being the slowest) //버튼을 눌렀을때 이동시간을 정의합니다
$("#mcs_container").mCustomScrollbar("vertical",400,"easeOutCirc",1.05,"auto","yes","yes",10);
$("#mcs2_container").mCustomScrollbar("vertical",0,"easeOutCirc",1.05,"auto","yes","no",0);
$("#mcs3_container").mCustomScrollbar("vertical",900,"easeOutCirc",1.05,"auto","no","no",0);
$("#mcs4_container").mCustomScrollbar("vertical",200,"easeOutCirc",100,"fixed","yes","no",0);
$("#mcs5_container").mCustomScrollbar("horizontal",500,"easeOutCirc",1,"fixed","yes","yes",20);
}
있습니다 수정하시면 되고요. 혹몰라 간단한 주석을 달아 놨습니다
간단하게 값만 변경하시면 테스트 해보실수 있습니다
이미지 변경및 레이어변경은 jquery.mCustomScrolbar.css 파일에 있습니다
즐 제작하세요
첨부파일
|
댓글을 작성하시려면 로그인이 필요합니다.
프로그램
태그 필터 (최대 3개)
전체
개발자
소스
기타
mysql
팁자료실
javascript
php
linux
flash
정규표현식
jquery
node.js
mobile
웹서버
os
프로그램
강좌
썸네일
이미지관련
도로명주소
그누보드5
기획자
견적서
계약서
기획서
마케팅
제안서
seo
통계
서식
통계자료
퍼블리셔
html
css
반응형
웹접근성
퍼블리싱
표준화
반응형웹
홈페이지기초
부트스트랩
angularjs
포럼
스크린리더
센스리더
개발자톡
개발자팁
퍼블리셔톡
퍼블리셔팁
기획자톡
기획자팁
프로그램강좌
퍼블리싱강좌
댓글 8개