jQuery動畫滑動插件



146 581 194



特效描述: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

加群請備注:從官網了解到

老夫子电子