SuperSlide2: It is very powerful to implement image scrolling. Here is just a simple demonstration of one of the types. If you want to see more types, you can go to www.superslide2.com and paste the code you have demonstrated here, I hope to inspire all my friends who are using it. I have used two examples here to implement it.
.focus-item ul li.item{ text-align: center;}.scroll-area .prev,.scroll-area .next{ position: absolute; bottom: 590px; width: 29px; height: 64px; opacity: 0.6; overflow: hidden; display: none; text-indent: -999px; border: medium none; background: url('/images/arrowLR.png') no-repeat scroll 0% 0% transparent;}.scroll-area .prev{ left: 0px; background-position: -50px 0px;}.scroll-area .next{ right: 0px;}.scroll-area .bdOn .prev,.scroll-area .bdOn .next{ display: block;} .scroll-area .focus-hd{ /*width: 832px;*/ /*left: 60px;*/ /*position: absolute;*/ /*height: 100px;*/ /*overflow: hidden;*/ left: 63px; position: absolute;} .focus-hd .sNext, .focus-hd .sPrev{ float: left; display: block; width: 14px; height: 47px; text-indent: -9999px; background: url('/images/sprites1008.png') no-repeat scroll 0px -3046px transparent;}.focus-hd .sNext{ background-position: 0px -2698px;} .focus-hd .show_bottom_nav { float: left; margin: 0px 6px; display: inline; width: 832px; overflow: hidden;}.focus-hd .show_bottom_nav ul li{ margin-left:15px;}
Html DEMO code:
←
→
Js script code:
JQuery (". scroll-area "). slide ({titCell :'. focus-hd li ', mainCell :'. focus-item ul ', delayTime: 0, trigger: 0, autoPlay: true}); jQuery (". scroll-area. focus-item "). hover (function () {jQuery (this ). addClass ("bdOn")}, function () {jQuery (this ). removeClass ('bdon')}); // jQuery (". scroll-area. show_bottom_nav "). slide ({mainCell: "ul", delayTime: 100, vis: 5, effect: "left", autoPage: true, prevCell :". sPrev ", nextCell :". sNext "});