꽤 유명한
이쁜 스크롤 생기는 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 파일에 있습니다
즐 제작하세요
댓글 8개
게시글 목록
| 번호 | 제목 |
|---|---|
| 12463 |
JavaScript
이미지 좌우로 이동 갤러리 입니다.
|
| 12462 | |
| 12461 |
JavaScript
쉬운 replaceAll 입니다.
|
| 12460 | |
| 12459 | |
| 12458 | |
| 12457 | |
| 12456 |
JavaScript
콤보스타일 메뉴 입니다.
|
| 12455 |
JavaScript
쿠키를 이용한 레이어 공지창 입니다.
|
| 12454 |
JavaScript
효과있는 텍스트 틱커 입니다.
|
| 12453 | |
| 12452 |
PHP
HTTP 인증 하기 입니다.
|
| 12451 |
JavaScript
외부 문서 불러오기 입니다.
|
| 12450 |
JavaScript
지정한 날짜까지 New 이미지를 띄워주기 입니다.
|
| 12449 | |
| 12448 |
JavaScript
메일 주소 검사하기 체크박스 입니다.
|
| 12447 |
JavaScript
무단링크 금지하기 입니다.
|
| 12446 | |
| 12445 |
MySQL
DB백업 및 복원
|
| 12444 |
JavaScript
페이지가 다른 사이트의 프레임에 갇히는 것을 막기 입니다.
|
| 12443 | |
| 12442 | |
| 12441 |
jQuery
input text 대문자만 받는 Jquery
|
| 12440 | |
| 12439 |
JavaScript
이미지 업로드와 미리보기 입니다.
|
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기