SuperSlide is a function designed to implement unified special effect calls on websites. It can solve most of the effects of tag switching and focus chart switching. It can also combine multiple slide to create more results. (Compatible with mainstream browsers such as ie kernel (including the invincible ie6), webkit kernel, ff, and opera ). This plug-in includes multiple combinations of SuperSlide Label Switching and focus chart. SuperSlide is a function designed to implement unified website special effect calling. It can solve most of the tag switching and focus chart switching effects, more slide combinations can be used to create more results. (Compatible with mainstream browsers such as ie kernel (including the invincible ie6), webkit kernel, ff, and opera ). It is applicable to the unified website plug-in library, which contains most of the js effects commonly used by websites. The file contains detailed instructions.
Js call:
The Code is as follows:
JQuery (". slideTxtBox"). slide ({effect: "left "});
JQuery ("# doubleSlideTxt"). slide ({titCell: ". parHd li", mainCell: ". parBdIn", effect: "top", trigger: "click "});
Css code:
The Code is as follows:
/* Double slide-text scrolling effect */
# DoubleSlideTxt {width: 524px; zoom: 1; position: relative; text-align: left ;}
# DoubleSlideTxt. parHd {position: absolute; z-index: 1; top: 10px; left: pixel; width: 44px; overflow: hidden ;}
# DoubleSlideTxt. parHd li {width: 14px; padding: 5px 5px 5px; line-height: 16px; border: 1px solid # baccdf; border-left: 0;
Margin-bottom: 5px; background: # fff; color: # b5c4d3; cursor: pointer; margin-left: 1px ;}
# DoubleSlideTxt. parHd li. on {background: # dbeefd; font-weight: bold; color: #367399; border-right: 3px solid #4e98c6;
Margin-left: 0px; position: relative; z-index: 100; padding: 5px 10px 5px 10px ;}
# DoubleSlideTxt. parBd {position: relative; z-index: 0; width: pixel PX; left: 0px; border: 1px solid # baccdf; padding: 6px; background: # dbeefd ;}
# DoubleSlideTxt. parBd. slideTxtBox {background: # fff; width: 400px; border: 0; padding: 20px ;}
# DoubleSlideTxt. parBd. slideTxtBox. hd {background: # fff ;}
HTML:
The Code is as follows:
Super Slide