jQuery动画滑动插件



138 548 183



特效描述:jQuery 动画滑动插件,jQuery动画滑动插件

代码结构

1. 引入CSS

<link rel="stylesheet" href="css/main.css">
<link rel="stylesheet" href="css/pogo-slider.css">

2. 引入JS

<script src="js/vendor/jquery-1.11.1.min.js"></script>
<script src="js/jquery.pogo-slider.min.js"></script>
<script src="js/main.js"></script>

3. HTML代码

<div class="container">
	<h2 class="sectionHeading">Full Width Demo</h2>
	<div class="pogoSlider" id="js-main-slider">
		<div class="pogoSlider-slide" data-transition="slideOverLeft" data-duration="1000"  style="background-image:url(img/slide1.jpg);"></div>
		<div class="pogoSlider-slide " data-transition="fold" data-duration="1000"  style="background-image:url(img/slide2.jpg);"></div>
		<div class="pogoSlider-slide " data-transition="shrinkReveal" data-duration="1000"  style="background-image:url(img/slide3.jpg);"></div>
	</div><!-- .pogoSlider -->
	<div class="demos" id="demos">
		<div class="slideDemos clearfix">
			<div class="grid12 small12">
				<h2 class="sectionHeading">Slide Transition Demos</h2>
			</div>
			<div class="row fl">
				<div class="grid12 small3 slideDemos-single">
					<div class="pogoSlider" id="demo1">
						<div class="pogoSlider-slide" style="background-color: indigo;">
							<h3 class="pogoSlider-slide-element">slide</h3>
						</div>
						<div class="pogoSlider-slide" style="background-color: dimgray;">
							<h3 class="pogoSlider-slide-element">slide</h3>
						</div>
						<div class="pogoSlider-slide" style="background-color: coral">
							<h3 class="pogoSlider-slide-element">slide</h3>
						</div>
					</div>
				</div>
				<div class="grid12 small3 slideDemos-single">
					<div class="pogoSlider " id="demo2">
						<div class="pogoSlider-slide" data-transition="blocksReveal" style="background-color: magenta;">
							<h3 class="pogoSlider-slide-element">blocksReveal</h3>
						</div>
						<div class="pogoSlider-slide" data-transition="blocksReveal" style="background-color: teal;">
							<h3 class="pogoSlider-slide-element">blocksReveal</h3>
						</div>
						<div class="pogoSlider-slide" data-transition="blocksReveal" style="background-color: plum">
							<h3 class="pogoSlider-slide-element">blocksReveal</h3>
						</div>
					</div>
				</div>
				<div class="grid12 small3 slideDemos-single">
					<div class="pogoSlider" id="demo3">
						<div class="pogoSlider-slide" data-transition="verticalSplitReveal" style="background-color: sandybrown;">
							<h3 class="pogoSlider-slide-element">verticalSplitReveal</h3>
						</div>
						<div class="pogoSlider-slide" data-transition="verticalSplitReveal" style="background-color: forestgreen;">
							<h3 class="pogoSlider-slide-element">verticalSplitReveal</h3>
						</div>
						<div class="pogoSlider-slide" data-transition="verticalSplitReveal" style="background-color: midnightblue">
							<h3 class="pogoSlider-slide-element">verticalSplitReveal</h3>
						</div>
					</div>
				</div>
				<div class="grid12 small3 slideDemos-single">
					<div class="pogoSlider" id="demo4">
						<div class="pogoSlider-slide" data-transition="zipReveal" style="background-color: darkturquoise;">
							<h3 class="pogoSlider-slide-element">zipReveal</h3>
						</div>
						<div class="pogoSlider-slide" data-transition="zipReveal" style="background-color: lightgrey;">
							<h3 class="pogoSlider-slide-element">zipReveal</h3>
						</div>
						<div class="pogoSlider-slide" data-transition="zipReveal" style="background-color: darkred">
							<h3 class="pogoSlider-slide-element">zipReveal</h3>
						</div>
					</div>
				</div>
			</div><!-- .row -->
			<div class="row fl">
				<div class="grid12 small3 slideDemos-single">
					<div class="pogoSlider" id="demo5">
						<div class="pogoSlider-slide" data-transition="shrinkReveal" style="background-color: rosybrown;">
							<h3 class="pogoSlider-slide-element">shrinkReveal</h3>
						</div>
						<div class="pogoSlider-slide" data-transition="shrinkReveal" style="background-color: orchid;">
							<h3 class="pogoSlider-slide-element">shrinkReveal</h3>
						</div>
						<div class="pogoSlider-slide" data-transition="shrinkReveal" style="background-color: royalblue">
							<h3 class="pogoSlider-slide-element">shrinkReveal</h3>
						</div>
					</div>
				</div>
				<div class="grid12 small3 slideDemos-single" id="demo2">
					<div class="pogoSlider" id="demo6">
						<div class="pogoSlider-slide" data-transition="expandReveal" style="background-color: limegreen;">
							<h3 class="pogoSlider-slide-element">expandReveal</h3>
						</div>
						<div class="pogoSlider-slide" data-transition="expandReveal" style="background-color: lightsteelblue;">
							<h3 class="pogoSlider-slide-element">expandReveal</h3>
						</div>
						<div class="pogoSlider-slide" data-transition="expandReveal" style="background-color: aquamarine">
							<h3 class="pogoSlider-slide-element">expandReveal</h3>
						</div>
					</div>
				</div>
				<div class="grid12 small3 slideDemos-single">
					<div class="pogoSlider" id="demo7">
						<div class="pogoSlider-slide" data-transition="fold" style="background-color: darkolivegreen;">
							<h3 class="pogoSlider-slide-element">fold</h3>
						</div>
						<div class="pogoSlider-slide" data-transition="fold" style="background-color: orange;">
							<h3 class="pogoSlider-slide-element">fold</h3>
						</div>
						<div class="pogoSlider-slide" data-transition="fold" style="background-color: palevioletred">
							<h3 class="pogoSlider-slide-element">fold</h3>
						</div>
					</div>
				</div>
				<div class="grid12 small3 slideDemos-single">
					<div class="pogoSlider" id="demo8">
						<div class="pogoSlider-slide" data-transition="verticalSlide" style="background-color: darkslateblue;">
							<h3 class="pogoSlider-slide-element">verticalSlide</h3>
						</div>
						<div class="pogoSlider-slide" data-transition="verticalSlide" style="background-color: cyan;">
							<h3 class="pogoSlider-slide-element">verticalSlide</h3>
						</div>
						<div class="pogoSlider-slide" data-transition="verticalSlide" style="background-color: indianred">
							<h3 class="pogoSlider-slide-element">verticalSlide</h3>
						</div>
					</div>
				</div>
			</div><!-- .row -->
			<div class="row fl">
				<div class="grid12 small3 slideDemos-single">
					<div class="pogoSlider" id="demo9">
						<div class="pogoSlider-slide" data-transition="fade" style="background-color: skyblue;">
							<h3 class="pogoSlider-slide-element">fade</h3>
						</div>
						<div class="pogoSlider-slide" data-transition="fade" style="background-color: black;">
							<h3 class="pogoSlider-slide-element">fade</h3>
						</div>
						<div class="pogoSlider-slide" data-transition="fade" style="background-color: gainsboro">
							<h3 class="pogoSlider-slide-element">fade</h3>
						</div>
					</div>
				</div>
				<div class="grid12 small3 slideDemos-single">
					<div class="pogoSlider" id="demo10">
						<div class="pogoSlider-slide" data-transition="slideRevealLeft" style="background-color: LightPink;">
							<h3 class="pogoSlider-slide-element">Slide Reveal Left</h3>
						</div>
						<div class="pogoSlider-slide" data-transition="slideRevealLeft" style="background-color: SlateBlue;">
							<h3 class="pogoSlider-slide-element">Slide Reveal Left</h3>
						</div>
						<div class="pogoSlider-slide" data-transition="slideRevealLeft" style="background-color: DimGrey">
							<h3 class="pogoSlider-slide-element">Slide Reveal Left</h3>
						</div>
					</div>
				</div>
				<div class="grid12 small3 slideDemos-single">
					<div class="pogoSlider" id="demo11">
						<div class="pogoSlider-slide" data-transition="slideOverLeft" style="background-color: HotPink;">
							<h3 class="pogoSlider-slide-element">Slide Over Left</h3>
						</div>
						<div class="pogoSlider-slide" data-transition="slideOverLeft" style="background-color: Brown;">
							<h3 class="pogoSlider-slide-element">Slide Over Left</h3>
						</div>
						<div class="pogoSlider-slide" data-transition="slideOverLeft" style="background-color: Indigo">
							<h3 class="pogoSlider-slide-element">Slide Over Left</h3>
						</div>
					</div>
				</div>
				<div class="grid12 small3 slideDemos-single">
					<div class="pogoSlider" id="demo12">
						<div class="pogoSlider-slide" data-transition="barRevealDown" style="background-color: PaleGreen;">
							<h3 class="pogoSlider-slide-element">Bars Reveal Down</h3>
						</div>
						<div class="pogoSlider-slide" data-transition="barRevealDown" style="background-color: MediumVioletRed;">
							<h3 class="pogoSlider-slide-element">Bars Reveal Down</h3>
						</div>
						<div class="pogoSlider-slide" data-transition="barRevealDown" style="background-color: SpringGreen">
							<h3 class="pogoSlider-slide-element">Bars Reveal Down</h3>
						</div>
					</div>
				</div>
			</div><!-- row -->
		</div><!-- slideDemos -->
	</div><!-- demos -->
</div><!-- .container -->



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


热门标签: 图片延迟加载 图片延迟 图片加载 图片全屏 图片放大镜 图片拖动 图片拖拽 头像上传 图片上传 图片叠加 图片层叠 二维码 图片翻转 图片旋转 图片淡出淡进 图片淡出 图片淡进 图片放大缩小 图片缩放 图片大小 图片放大 图片缩小 图片变大 图片变小 加载动画 h5图片动画 h5图标动画 html5图片动画 html5图标动画 图片广告 带缩略图的幻灯片 地图 中国地图 世界地图 滑动 滑块 滑动门 触屏滑动 滑动插件 滑块插件 纯图片轮播 图片轮播 旋转木马 图片旋转木马 文字旋转木马 旋转木马插件 图片收缩展开 图片收缩 图片展开 图片切换 图片选项卡 图标选项卡 图片滑动 图片滑块 图片滚动 图片滚动条 图标导航 图标菜单 自动滚动图片轮播 背景切换 大图切换 手风琴 水平手风琴 垂直手风琴 图片手风琴 文字手风琴 手风琴插件 h5弹窗动画 html5弹窗动画 旋转翻转 旋转 翻转 h5动画 h5背景动画 h5场景动画 h53D动画 h5界面动画 html5动画 图表 图片 图片插件 头像截图 h5按钮动画 html5按钮动画 图片翻转 图片旋转 h5图片动画 h5图标动画 html5图片动画 html5图标动画 图片滑动 图片滑块 图片滑动 滑动图片

×
×

注册

官方QQ群

扫描上面二维码加微信群

官方QQ群

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

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