jquery响应式布局图片滚动支持手机端触屏滚动效果



112 447 150



特效描述:jquery 响应式布局 图片滚动 手机端触屏滚动,jquery书架式图片展示特效,如图

代码结构

1. 引入CSS

<link rel="stylesheet" href="css/sti_style.css" type="text/css" media="screen">
<link rel="stylesheet" href="css/mediaelementplayer.css">

2. 引入JS

<script src="js/jquery-1.7.min.js"></script>
<script src="js/jquery.touchSwipe.min.js"></script>
<script src="js/jquery.versatileTouchSlider.min.js"></script>
<script src="js/mediaelement-and-player.min.js"></script>

3. HTML代码

<div class="sti_container" id="ex_shelf_full" style="margin-top:50px;"> 
    <div class="sti_slider"> 
        <div class="sti_items"> 
        	<!-- SLIDE GROUP 1 --> 
            <div class="sti_slide"> 
            	<div class="sti_shelf_divider"></div> 
                <div class="sti_prod"> 
                	<img src="image/banner_full_1_thumb.jpg" alt="" width="110" height="150"> 
                    <a href="http://www.kaiwo123.com/ad/h1.jpg" class="link video sti_lightbox" data-type="video-vimeo" data-size="700x394" title="Lamborghini Aventador"></a> 
                </div> 
                <div class="sti_prod"> 
                	<img src="image/banner_full_2_thumb.jpg" alt="" width="110" height="150"> 
                    <a href="http://www.kaiwo123.com/ad/h2.jpg" class="link video sti_lightbox" data-type="video-youtube" data-size="700x420" title="Youtube Video (For The Birds / PIXAR)"></a> 
                    <a href="#" class="ribbon ribbon_green" title="Ribbon"></a> 
                </div> 
                <div class="sti_prod"> 
                	<img src="image/banner_full_3_thumb.jpg" alt="" width="110" height="150"> 
                    <a href="http://www.kaiwo123.com/ad/h3.jpg" class="link video sti_lightbox" data-type="video-vimeo" data-size="700x394" title="Vimeo Video"></a> 
                    <a href="#" class="ribbon ribbon_red" title="Ribbon"></a> 
                </div> 
                <div class="sti_prod"> 
                	<img src="image/banner_full_4_thumb.jpg" alt="" width="110" height="150"> 
                	<a href="http://www.kaiwo123.com/ad/h4.jpg" class="link audio sti_lightbox"  data-type="audio" data-size="450x50" title="Audio Example. HTML5 Support / Flash Fallback"></a> 
                    <a href="#" class="ribbon ribbon_green" title="Ribbon"></a> 
                </div> 
                <div class="sti_prod"> 
                	<img src="image/banner_full_5_thumb.jpg" alt="" width="110" height="150"> 
                    <a href="http://www.kaiwo123.com/ad/h5.jpg" class="link video sti_lightbox" data-type="video" data-size="540x303" title="MP4 Video. HTML5 Support / Flash Fallback"></a> 
                    <a href="#" class="ribbon ribbon_orange" title="Ribbon"></a> 
                </div> 
                <div class="sti_prod"> 
                	<img src="image/banner_full_1_thumb.jpg" alt="" width="110" height="150"> 
                    <a href="http://www.kaiwo123.com/ad/h1.jpg" class="link zoom sti_lightbox" data-type="image" title="Lightbox image example"></a> 
                    <a href="#" class="ribbon ribbon_blue" title="Ribbon"></a> 
                </div> 
                <div class="sti_prod"> 
                	<img src="image/banner_full_2_thumb.jpg" alt="" width="110" height="150"> 
                	<a href="http://www.kaiwo123.com/ad/v1.jpg" class="link audio sti_lightbox"  data-type="audio" data-size="450x50" title="Audio Example 2. HTML5 Support / Flash Fallback"></a> 
                </div> 
                <div class="sti_shelf_divider_bottom"></div> 
            </div> 
            <!-- SLIDE GROUP 2 --> 
            <div class="sti_slide"> 
            	<div class="sti_shelf_divider"></div> 
                <div class="sti_prod"> 
                	<img src="image/banner_full_1_thumb.jpg" alt="" width="110" height="150"> 
                    <a href="#" class="link more" title="Title"></a> 
                </div> 
                <div class="sti_prod"> 
                	<img src="image/banner_full_2_thumb.jpg" alt="" width="110" height="150"> 
                	<a href="content/audio/AirReview-Landmarks-02-ChasingCorporate.mp3" class="link audio sti_lightbox"  data-type="audio" data-size="450x50" title="Audio Example. HTML5 Support / Flash Fallback"></a> 
                    <a href="#" class="ribbon ribbon_green" title="Ribbon"></a> 
                </div> 
                <div class="sti_prod"> 
                	<img src="image/banner_full_3_thumb.jpg" alt="" width="110" height="150"> 
                	<a href="#" class="link more" title="Title"></a> 
                </div> 
                <div class="sti_prod"> 
                	<img src="image/banner_full_4_thumb.jpg" alt="" width="110" height="150"> 
                    <a href="http://vimeo.com/53327926" class="link video sti_lightbox" data-type="video-vimeo" data-size="700x394" title="Vimeo Video"></a> 
                </div> 
				<div class="sti_prod"> 
                	<img src="image/banner_full_5_thumb.jpg" alt="" width="110" height="150"> 
                    <a href="content/html/html_content.html" class="link content sti_lightbox"  data-type="html-content" data-size="550x450" title="HTML Content"></a> 
                </div> 
                <div class="sti_prod"> 
                	<img src="image/banner_full_1_thumb.jpg" alt="" width="110" height="150"> 
                    <a href="#" class="link more" title="Title"></a> 
                    <a href="#" class="ribbon ribbon_red" title="Ribbon"></a> 
                </div> 
                <div class="sti_prod"> 
                	<img src="image/banner_full_2_thumb.jpg" alt="" width="110" height="150"> 
                    <a href="#" class="link more" title="Title"></a> 
                </div> 
                <div class="sti_shelf_divider_bottom"></div> 
            </div> 
            <!-- SLIDE GROUP 3 --> 
        </div><!-- sti_items --> 
    </div><!-- sti_slider --> 
    <div class="sti_paginate"> 
    	<div class="sti_page"></div> 
        <div class="sti_control"> 
        	<a href="#" class="sti_btn sti_play"><img src="img/play.png" alt=""></a> 
            <a href="#" class="sti_btn sti_pause"><img src="img/pause.png" alt=""></a> 
        </div> 
    </div> 
</div><!-- sti_container --> 



用户评论
大牛,别默默的看了,快登录帮我点评一下吧!:)      登录 | 注册


热门标签: 图片拖动 图片放大镜 图片叠加 图片翻转旋转 图片延迟加载 图片淡出淡进 图片全屏 图片头像上传 二维码 滚动切换 滑动选项卡切换 图片广告 图片放大缩小 html5图片动画 带缩略图的幻灯片 地图 图片滚动 图片滑动 图片切换 图片收缩展开 旋转木马 图片轮播 自动滚动图片轮播 图标导航菜单 选项卡切换 滑动手风琴 背景切换 手风琴 切换按钮 form表单 图表 图片 头像截图 图片相册 图片网格 选项卡自动切换 按钮控制

×
×

注册

官方QQ群

扫描上面二维码加微信群

官方QQ群

jQuery/js讨论群
群号:642649996
Css3+Html5讨论群
群号:322131262

加群请备注:从官网了解到