基于jQuery实现事件日历表代码



64 254 85



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



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


热门标签: 导航切换 时间轴 图片头像上传 缩略图 日历选择器 文件上传 图片相册 图片切换 时间日期插件 文本框 图片墙 文字切换 下拉框 百叶窗 背景切换 复选 图片网格 手风琴 单选 图片九宫格 选项卡自动切换 登录框 视频切换 注册框 图片高亮 列表切换 搜索框 图片对比 验证码 图片文字 渐隐切换 二级联动 单排图片 全屏切换 三级联动 响应式图片 切换按钮 城市选择 图片列表 缩放切换 value赋值 筛选 按钮控制 购物车 颜色选择 表单提交 全选/反选 添加删除 添加标签 密码强度验证 表单验证 html5按钮动画 按钮样式 密码修改设置 图片拖动 图片放大镜 图片叠加 图片翻转旋转 图片延迟加载 图片淡出淡进 图片全屏 图片头像上传 二维码 滚动切换 滑动选项卡切换 图片广告 图片放大缩小 html5图片动画 带缩略图的幻灯片 地图 图片滚动 图片滑动 图片切换 图片收缩展开 旋转木马 图片轮播 自动滚动图片轮播 图标导航菜单 选项卡切换 滑动手风琴 背景切换 手风琴 切换按钮 日历日期时间 form表单 图表 图片 头像截图

×
×

注册

官方QQ群

扫描上面二维码加微信群

官方QQ群

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

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