Based on the full-screen image switching code of the jQuery Mall Website, The jquery mall
Switch code based on jQuery Mall Website full screen images. This is a full screen multi-image slide switching code for a mall website. As follows:
Download Online Preview source code
Implementation code.
Html code:
<div class="slides"> <div class="slideInner"> <a href="#" style="background: url(img/slide1.jpg) no-repeat;"> <div class="moveElem img1" rel="0,easeInOutExpo"> </div> <div class="moveElem img2" rel="150,easeInOutExpo"> </div> </a><a href="#" style="background: url(img/slide2.jpg) no-repeat"> <div class="moveElem img1" rel="0,easeInOutExpo"> </div> </a><a href="#" class="slide3" style="background: url(img/slide3.jpg) no-repeat;"> <div class="moveElem img1" rel="0,easeInOutExpo"> </div> <div class="moveElem img2" rel="150,easeInOutExpo"> </div> <div class="moveElem img3" rel="300,easeInOutExpo"> </div> </a><a href="#" style="background: rgb(113, 209, 231);"> <div class="moveElem img1" rel="0,easeInOutExpo"> </div> <div class="moveElem img2" rel="150,easeInOutExpo"> </div> </a><a href="#" style="background: rgb(178, 44, 44);"> <div class="moveElem img1" rel="0,easeInOutExpo"> </div> <div class="moveElem img2" rel="150,easeInOutExpo"> </div> </a> </div> <div class="nav"> <a class="prev" href="javascript:;"></a><a class="next" href="javascript:;"></a> </div> </div>
Js Code:
$(document).ready(function () { $(".slideInner").slide({ slideContainer: $('.slideInner a'), effect: 'easeOutCirc', autoRunTime: 5000, slideSpeed: 1000, nav: true, autoRun: true, prevBtn: $('a.prev'), nextBtn: $('a.next') }); });
Via: http://www.w2bc.com/article/50926