jquery带缩略图可触摸焦点图
XML/HTML Code
- <div id="example1" class="slider-pro">
- <div class="sp-slides">
- <div class="sp-slide">
- <img class="sp-image" src="css/images/blank.gif" data-src="images/image1_medium.jpg" data-retina="images/image1_large.jpg"/>
- <p class="sp-layer sp-white sp-padding" data-horizontal="50" data-vertical="50" data-show-transition="left" data-hide-transition="up" data-show-delay="400" data-hide-delay="200">
- </p>
- <p class="sp-layer sp-black sp-padding hide-small-screen" data-horizontal="180" data-vertical="50" data-show-transition="left" data-hide-transition="up" data-show-delay="600" data-hide-delay="100">
- www.freejs.net
- </p>
- </div>
- <div class="sp-slide">
- <img class="sp-image" src="css/images/blank.gif" data-src="images/image2_medium.jpg" data-retina="images/image2_large.jpg"/>
- <h3 class="sp-layer sp-black sp-padding" data-horizontal="40" data-vertical="10%" data-show-transition="left" data-hide-transition="left">www.freejs.net</h3>
- <p class="sp-layer sp-black sp-padding hide-small-screen" data-horizontal="40" data-vertical="34%" data-width="350" data-show-transition="left" data-show-delay="400" data-hide-transition="left" data-hide-delay="500">www.freejs.net</p>
- </div>
- <div class="sp-slide">
- <img class="sp-image" src="css/images/blank.gif" data-src="images/image1_medium.jpg" data-retina="images/image1_large.jpg"/>
- <p class="sp-layer sp-white sp-padding" data-position="centerCenter" data-vertical="-50" data-show-transition="right" data-hide-transition="left" data-show-delay="500" >www.freejs.net</p>
- <p class="sp-layer sp-black sp-padding hide-small-screen" data-position="centerCenter" data-vertical="50" data-show-transition="left" data-show-delay="700" data-hide-transition="right" data-hide-delay="200">
- www.freejs.net
- </p>
- </div>
- <div class="sp-slide">
- <img class="sp-image" src="css/images/blank.gif" data-src="images/image2_medium.jpg" data-retina="images/image2_large.jpg"/>
- <p class="sp-layer sp-black sp-padding" data-position="bottomLeft" data-show-transition="up" data-hide-transition="down">
- <span class="hide-small-screen">www.freejs.net</span>
- <span class="hide-medium-screen">www.freejs.net</span>
- </p>
- </div>
- <div class="sp-slide">
- <img class="sp-image" src="css/images/blank.gif" data-src="images/image1_medium.jpg" data-retina="images/image1_large.jpg"/>
- <p class="sp-layer sp-white sp-padding" data-vertical="10" data-horizontal="2%" data-width="96%" data-show-transition="down" data-show-delay="400" data-hide-transition="up">
- <span class="hide-small-screen">www.freejs.net</span>
- <span class="hide-medium-screen">www.freejs.net</span>
- </p>
- </div>
- </div>
- <div class="sp-thumbnails">
- <div class="sp-thumbnail">
- <div class="sp-thumbnail-title">www.freejs.net免费素材网</div>
- <div class="sp-thumbnail-description">www.freejs.net</div>
- </div>
- <div class="sp-thumbnail">
- <div class="sp-thumbnail-title">www.freejs.net免费素材网</div>
- <div class="sp-thumbnail-description">www.freejs.net</div>
- </div>
- <div class="sp-thumbnail">
- <div class="sp-thumbnail-title">www.freejs.net免费素材网</div>
- <div class="sp-thumbnail-description">www.freejs.net</div>
- </div>
- <div class="sp-thumbnail">
- <div class="sp-thumbnail-title">www.freejs.net免费素材网</div>
- <div class="sp-thumbnail-description">www.freejs.net</div>
- </div>
- <div class="sp-thumbnail">
- <div class="sp-thumbnail-title">www.freejs.net免费素材网</div>
- <div class="sp-thumbnail-description">www.freejs.net</div>
- </div>
- </div>
- </div>
原文地址:http://www.freejs.net/article_jiaodiantu_947.html