基于jQuery實現事件日歷表代碼



36 141 48



特效描述:基于jQuery實現 事件日歷表,基于jQuery實現事件日歷表代碼

代碼結構

1. 引入CSS

<link rel="stylesheet" href="css/res-timeline.css" />
<link rel="stylesheet" type="text/css" href="css/font-awesome.css" />

2. 引入JS

<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/res-timeline.js"></script>

3. HTML代碼

<div class="jflatTimeline">
	<div class="timeline-wrap">
		<div class="event" data-date="02/06/2012">
			<div class="layout3">
				<img src="images/3.jpg" alt="image alt" /><h3>This is Layout 3</h3>
				<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed 
				diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam 
				erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci 
				tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo 
				consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate 
				velit esse molestie consequat, vel illum dolore eu </p>
			</div>
			<span class="date"><i class="icon-calendar"></i>02.03.2012</span></div>
		<div class="event selected" data-date="03/9/2013">
			<div class="layout1">
				<div class="left">
					<img src="images/1.jpg" alt="image alt" /></div>
				<div class="right">
					<h3>This is Layout 1</h3>
					<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, 
					sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna 
					aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud 
					exerci tation ullamcorper suscipit lobortis nisl ut aliquip 
					ex ea commodo consequat. Duis autem vel eum iriure dolor in 
					hendrerit in vulputate velit esse molestie consequat, vel illum 
					dolore eu </p>
				</div>
			</div>
			<span class="date"><i class="icon-calendar"></i>09.03.2013</span></div>
		<div class="event" data-date="03/11/2013">
			<div class="layout2">
				<div class="left">
					<h3>This is Layout 2</h3>
					<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, 
					sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna 
					aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud 
					exerci tation ullamcorper suscipit lobortis nisl ut aliquip 
					ex ea commodo consequat. Duis autem vel eum iriure dolor in 
					hendrerit in vulputate velit esse molestie consequat, vel illum 
					dolore eu </p>
				</div>
				<div class="right">
					<img src="images/1.jpg" alt="image alt" /></div>
			</div>
			<span class="date"><i class="icon-calendar"></i>11.03.2013</span></div>
		<div class="event" data-date="04/06/2013">
			<div class="layout3">
				<img src="images/3.jpg" alt="image alt" /><h3>This is Layout 3</h3>
				<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed 
				diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam 
				erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci 
				tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo 
				consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate 
				velit esse molestie consequat, vel illum dolore eu </p>
			</div>
			<span class="date"><i class="icon-calendar"></i>06.04.2013</span></div>
		<div class="event" data-date="04/09/2013">
			<div class="layout4">
				<h3>This is Layout 4</h3>
				<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed 
				diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam 
				erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci 
				tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo 
				consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate 
				velit esse molestie consequat, vel illum dolore eu </p>
			</div>
			<span class="date"><i class="icon-calendar"></i>09.04.2013</span></div>
		<div class="event" data-date="07/08/2013">
			<div class="layout5">
				<h3>Simple Mini Event Layout 4</h3>
			</div>
			<span class="date"><i class="icon-calendar"></i>08.07.2013</span></div>
		<div class="event" data-date="05/7/2013">
			<div class="layout1">
				<div class="left">
					<img src="images/1.jpg" alt="image alt" /></div>
				<div class="right">
					<h3>This is Layout 1</h3>
					<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, 
					sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna 
					aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud 
					exerci tation ullamcorper suscipit lobortis nisl ut aliquip 
					ex ea commodo consequat. Duis autem vel eum iriure dolor in 
					hendrerit in vulputate velit esse molestie consequat, vel illum 
					dolore eu </p>
				</div>
			</div>
			<span class="date"><i class="icon-calendar"></i>07.05.2013</span></div>
		<div class="event" data-date="05/11/2013">
			<div class="layout2">
				<div class="left">
					<h3>This is Layout 2</h3>
					<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, 
					sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna 
					aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud 
					exerci tation ullamcorper suscipit lobortis nisl ut aliquip 
					ex ea commodo consequat. Duis autem vel eum iriure dolor in 
					hendrerit in vulputate velit esse molestie consequat, vel illum 
					dolore eu </p>
				</div>
				<div class="right">
					<img src="images/1.jpg" alt="image alt" /></div>
			</div>
			<span class="date"><i class="icon-calendar"></i>11.05.2013</span></div>
		<div class="event" data-date="06/06/2013">
			<div class="layout3">
				<img src="images/3.jpg" alt="image alt" /><h3>This is Layout 3</h3>
				<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed 
				diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam 
				erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci 
				tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo 
				consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate 
				velit esse molestie consequat, vel illum dolore eu </p>
			</div>
			<span class="date"><i class="icon-calendar"></i>06.06.2013</span></div>
		<div class="event" data-date="07/09/2013">
			<div class="layout4">
				<h3>This is Layout 4</h3>
				<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed 
				diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam 
				erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci 
				tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo 
				consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate 
				velit esse molestie consequat, vel illum dolore eu </p>
			</div>
			<span class="date"><i class="icon-calendar"></i>09.07.2013</span></div>
		<div class="event" data-date="08/08/2013">
			<div class="layout5">
				<h3>Simple Mini Event Layout 4</h3>
			</div>
			<span class="date"><i class="icon-calendar"></i>08.08.2013</span></div>
	</div>
</div>
<div style="text-align:center;clear:both">
</div>



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


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

注冊

官方QQ群

掃描上面二維碼加微信群

官方QQ群

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

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

老夫子电子