jquery-based object switching plugin: Sochange 1.5 (click to download)

Source: Internet
Author: User

Http://www.jsfoot.com/jquery/demo/2011-09-20/192.html

All parameters:

$ (obj). Sochange ({
Thumbobj:null,Navigation object, default is empty
Botprev:null,button on a, default is empty
Botnext:null,//button next. The default is null
    thumbnowclass: ' Now ', //navigation object current class, default to ' Today '
     thumboverevent:true,//when the mouse is thumbobj when the object is toggled, the default is true, False, only the mouse click on the thumbobj to switch objects
    slidetime:1000, //object smooth transition duration, default is 1000ms
     autochange:true, //auto Toggle, default to True
    clickfalse:true,//navigation object if there is a link, click whether the link is invalid, that is, return false, the default is return False link is invalid, when Thumboverevent is false, this key must be true, Otherwise, the mouse click event Conflict
    overstop:true,//the mouse after the switch object, toggle the object to stop switching, and after the mouse left to restart the automatic switch, If automatic switching is turned on, by default the mouse is switched on by the object stop toggle
    changetime:5000, //object automatically switch time, the default is 5000ms, That is, 5 seconds
    delaytime:300 //the mouse through the object switching hysteresis time, the recommended value is 300ms
});
 

The plugins that implement object switching are actually many online,
But the application is always not satisfied, concise enough, not practical enough, so simply wrote a,
Originally named Sgallery, that is Simplegallery,
But feel that this plug-in can not only be applied to the slide album, it should be called the object switch plugin,
So changed the name, Simple object changes, concise thinking directly on the Sochange, that is, so change, so switch,
I also added an example of tab switching, I believe you will feel it is so convenient and diverse when you use it,
The above-mentioned plug-in all parameters, from the front-end development perspective, take full advantage of CSS style flexibility, script invocation is simple,
Basically meet the current common development encountered in the smooth transition effect, specific practical applications and code reference the following examples.

Note: This plug-in size is 3k (min version is 1.6k), compatible with all major browsers,
The small arrow icon at the top right of the picture is considered beautiful with a transparent PNG image, opaque under IE6, this is related to style, please know.

jquery-based object switching plugin: Sochange 1.5 (click to download)

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.