jQuery图文全屏滚动代码



79 314 105



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

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