jquery-based custom scroll bar Sptbar 0.5beta

Source: Internet
Author: User

Based on the jquery development of processing and beautification of the scroll bar JS package, the current version of Sptbar0.5beta, only 7k

Download Address: http://down.51cto.com/data/559830

Version features:

IE6 is not supported for the following versions, other versions are supported

Support for window and document scroll bar processing only

Version 1.0 will support div scroll bar processing

Statement:

Comply with the LGPL agreement

If there is a bug, please feedback to me, thank you. Can be feedback in the reply, or my email: sunspot_java@yahoo.cn

The effect chart is as follows:

See more highlights of this column: http://www.bianceng.cnhttp://www.bianceng.cn/webkf/jquery/

Code and API sections:

 <script type= "Text/javascript" > $ (function () {/** * sptbar parameter: * x:string 
        * Auto (default), yes,no x axis display: Automatic, always, do not display * y:string * AUTO (default), yes,no x axis display mode: Automatic, always, do not show * xscale:double * 1 (default), x-axis display scale, Range: 0-1 * yscale:double * 1 (default), y-axis display ratio, fan Wai: 0-1 * move:function (isy,scrollbartop,bodytop) * Event triggered when scrolling occurs * @param isy:boolean whether the y-axis is
        Move * @param scrollbartop:double scroll bar distance from the top of the scroll Groove * @param bodytop:double page Content scrolltop * * 
            $ (window). Sptbar ({x: ' auto ', y: ' Auto ', yscale:0.7, xscale:0.7, Move:function (isy,scrollbartop,scrolltop) {document.title = (Isy?) 
            Y-Axis move ": X-axis move") +scrollbartop+ "," +scrolltop; 
    } 
        }); 
}); </script> 

This article from "Bo Far to Quiet" blog, please be sure to retain this source http://sunspot.blog.51cto.com/372554/1034926

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.