jQuery圖文全屏滾動代碼



85 337 113



特效描述:jQuery 圖文全屏滾動,jQuery圖文全屏滾動代碼

代碼結構

1. 引入CSS

<link rel="stylesheet" type="text/css" href="css/normalize.css" />
<link rel="stylesheet" type="text/css" href="css/zzsc-demo.css">
<link rel="stylesheet" type="text/css" href="css/style.css">

2. 引入JS

<script src="js/jquery-1.11.0.min.js" type="text/javascript"></script>
<script type="text/javascript" src="dist/ResizeSensor.js"></script>
<script type="text/javascript" src="dist/theia-sticky-sidebar.js"></script>
<script type="text/javascript" src="js/test.js"></script>

3. HTML代碼

<div class="zzsc-container">
	<div class="header">
		<h1>Theia Sticky Sidebar - 3 columns example</h1>
		<button onclick="this.disabled = true; testTheiaStickySidebars();">點擊按鈕讓頁面自動滾動</button> (請在頁面自動滾動時不要對瀏覽器進行縮放)
	</div>
	<div class="wrapper wrapperThreeColumns">
		<div class="leftSidebar">
			<div class="theiaStickySidebar">
				<div class="box">
					<h2>Left Sidebar</h2>
					<p>
						Gloriatur neglegentur ea mel. Eu pro option moderatius, elitr nonumy molestiae
						ad nam. Quis labore eos ut, his ad sale officiis efficiendi. Usu ex petentium
						theophrastus, an his prima atqui. Eu quando vituperata vel. Ad eos modus
						aperiam omittantur, ludus scribentur et qui.
					</p>
				</div>
			</div>
		</div>
		<div class="content box">
			<div class="theiaStickySidebar">
				<h2>Content</h2>
				<p>
					Lorem ipsum dolor sit amet, ei vix dicit possim. Pro principes urbanitas ei, his no
					omittam inimicus, qui apeirian honestatis philosophia ei. Augue quaerendum
					scriptorem vix ad, duo in mucius facilisis. Audire noluisse singulis mei ne. Esse
					aperiri facilisi pro an, fabellas cotidieque eu vis. Est in senserit accusamus
					inciderint, consetetur voluptatibus pro et, te qui verear assentior.
				</p>
				<p>
					<div class="image" style="height: 600px; background-image: url('examples/images/photo-1453165549043-d43505de900d.jpg');"></div>
				</p>
				<p>
					Ne sea vitae admodum, dicant tritani definiebas id quo, ei eam possim oblique. In
					decore salutandi tincidunt pri, sit te summo epicuri. Ea vel alterum liberavisse.
					Vim discere interesset in, debet appellantur in sed, ne sit facilisis splendide
					aliquando. Vix moderatius honestatis no.
				</p>
				<p>
					Est te nonumes verterem urbanitas, ei quo utinam constituto. Nihil tation vis ad,
					corrumpit incorrupte mea cu. Mei te apeirian intellegat, wisi meliore interpretaris
					et usu. Id graece probatus contentiones nam, natum legimus an quo.
				</p>
				<p>
					<div class="image" style="height: 600px; background-image: url('examples/images/photo-1465328610639-388f315eb31b.jpg');"></div>
				</p>
				<p>
					Nam ea bonorum consetetur conclusionemque, sonet salutatus ea nam. Vis tale minim
					accumsan ut, ea ius nisl veniam sententiae. Sonet reprimique vis ex, ex case laudem
					nemore pro. Has alia utroque nominavi te, tollit nonumy pro eu. Cu ipsum delicata
					interesset quo, vix quod causae expetenda ex.
				</p>
				<p>
					Decore aliquando has in, mel exerci inermis an. Phaedrum consequat cum ex, harum
					legere ad qui. Ea quo movet omnium, graecis vituperatoribus sed te. Cu est omnis
					deseruisse referrentur.
				</p>
				<p>
					<div class="image" style="height: 600px; background-image: url('examples/images/photo-1429593886847-3cc52983f919.jpg');"></div>
				</p>
				<p>
					Ei rebum movet diceret per. In autem novum voluptatibus quo. Ne nec bonorum
					menandri, justo appetere vel ex. Ea fugit noster eruditi eam, vix natum liber
					temporibus an. Vis cu recteque intellegam, qui iisque oportere at. Solet exerci sed
					an, ius mutat quidam an.
				</p>
				<p>
					Has te iudico gloriatur. Vix et tritani interesset. Te paulo perpetua his, eu
					accusata evertitur philosophia vix, ei minimum inimicus has. Pro an hinc constituto
					disputando, luptatum laboramus eu quo, ad fugit saepe lobortis sea. Vel possit
					pertinax no, quando graeco pro in, id quo timeam erroribus.
				</p>
				<p>
					<div class="image" style="height: 600px; background-image: url('examples/images/photo-1461016951828-c09537329b3a.jpg');"></div>
				</p>
				<p>
					Vim ea euripidis intellegebat, accumsan adolescens quaerendum qui ut, ei unum viris
					vim. Mei eu mazim omittam, sint oblique recteque id eum. Duo nullam repudiare te,
					nisl oporteat mea no, epicuri vituperata efficiendi eam ex. Per vide labores
					mandamus at, ad possit essent nominati his, per ne verear corpora. Erant aeque sed
					et, id vel quis hendrerit intellegat.
				</p>
				<p>
					Ius novum iuvaret feugait ea, soluta assueverit neglegentur pro ex. Et duo nisl
					accusam. Wisi tantas detraxit ea mea, mel in nusquam dissentias. Quo in soleat
					oporteat, volumus tincidunt vix cu.
				</p>
				<p>
					<div class="image" style="height: 600px; background-image: url('examples/images/photo-1465328610639-388f315eb31b.jpg');"></div>
				</p>
				<p>
					Putant possim democritum no has. Id eam decore inimicus, adhuc probatus
					definitionem cum ne, ea discere scribentur adversarium has. Qui ne homero labores
					consequat. Qui omittam assueverit ea, ei nobis voluptua disputationi eum. An nam
					soleat doming nostro, natum postea labore vel id.
				</p>
				<p>
					Ei rebum movet diceret per. In autem novum voluptatibus quo. Ne nec bonorum
					menandri, justo appetere vel ex. Ea fugit noster eruditi eam, vix natum liber
					temporibus an. Vis cu recteque intellegam, qui iisque oportere at. Solet exerci sed
					an, ius mutat quidam an.
				</p>
			</div>
		</div>
		<div class="rightSidebar">
			<div class="theiaStickySidebar">
				<div class="box">
					<h2>Right Sidebar</h2>
					<p>
						Decore aliquando has in, mel exerci inermis an. Phaedrum consequat cum ex, harum
						legere ad qui. Ea quo movet omnium, graecis vituperatoribus sed te. Cu est omnis
						deseruisse referrentur.
					</p>
					<p>
					<div class="image" style="height: 200px; background-image: url('examples/images/photo-1429593886847-3cc52983f919.jpg');"></div>
					</p>
				</div>
				<div class="box">
					<p>
						Ei rebum movet diceret per. In autem novum voluptatibus quo. Ne nec bonorum
						menandri, justo appetere vel ex. Ea fugit noster eruditi eam, vix natum liber
						temporibus an. Vis cu recteque intellegam, qui iisque oportere at. Solet exerci sed
						an, ius mutat quidam an.
					</p>
					<p>
					<div class="image" style="height: 150px; background-image: url('examples/images/photo-1461016951828-c09537329b3a.jpg');"></div>
					</p>
				</div>
				<div class="box">
					<p>
						Has te iudico gloriatur. Vix et tritani interesset. Te paulo perpetua his, eu
						accusata evertitur philosophia vix, ei minimum inimicus has. Pro an hinc constituto
						disputando, luptatum laboramus eu quo, ad fugit saepe lobortis sea. Vel possit
						pertinax no, quando graeco pro in, id quo timeam erroribus.
					</p>
					<p>
					<div class="image" style="height: 150px; background-image: url('examples/images/photo-1453165549043-d43505de900d.jpg');"></div>
					</p>
				</div>
			</div>
		</div>
	</div>
</div>
<script>
	$(document).ready(function() {
		$('.leftSidebar, .content, .rightSidebar')
			.theiaStickySidebar({
				additionalMarginTop: 30
			});
	});
</script>



用戶評論
大牛,別默默的看了,快登錄幫我點評一下吧!:)      登錄 | 注冊


熱門標簽: 滾動 滾動條 頁面滾動 滾動插件 滾動條插件 滾動條美化 圖片翻轉 圖片旋轉 圖片疊加 圖片層疊 圖片放大鏡 圖片淡出淡進 圖片淡出 圖片淡進 圖片全屏 圖片延遲加載 圖片延遲 圖片加載 頭像上傳 圖片上傳 圖片拖動 圖片拖拽 二維碼 圖片廣告 帶縮略圖的幻燈片 圖片放大縮小 圖片縮放 圖片大小 圖片放大 圖片縮小 圖片變大 圖片變小 地圖 中國地圖 世界地圖 h5圖片動畫 h5圖標動畫 html5圖片動畫 html5圖標動畫 純圖片輪播 圖片輪播 旋轉木馬 圖片旋轉木馬 文字旋轉木馬 旋轉木馬插件 圖片收縮展開 圖片收縮 圖片展開 圖片切換 圖片選項卡 圖標選項卡 圖片滑動 圖片滑塊 圖片滾動 圖片滾動條 圖標導航 圖標菜單 自動滾動圖片輪播 背景切換 大圖切換 手風琴 水平手風琴 垂直手風琴 圖片手風琴 文字手風琴 手風琴插件 切換按鈕 表單 表單美化 表單插件 表單美化插件 圖表 圖片 圖片插件 頭像截圖 圖片滾動 圖片滾動條 文字滾動 文字無縫滾動 文字間歇滾動 圖片文字滾動 文字圖片滾動 全屏滾動 按鈕控制 圖片滾動 滾動圖片
?
×
×

注冊

官方QQ群

掃描上面二維碼加微信群

官方QQ群

jQuery/js討論群
群號:642649996
Css3+Html5討論群
群號:322131262

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

湖北30选5开奖结果走势图表