jQuery点击弹出创建快捷方式特效代码下载



8 29 10



特效描述:点击弹出 创建快捷方式,jQuery点击弹出创建快捷方式特效代码下载

代码结构

1. 引入CSS

<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/font-awesome.min.css">
<link rel="stylesheet" href="css/style.css">

2. 引入JS

<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/index.js"></script>

3. HTML代码

<div class="row">
	<div class="col-lg-4 col-md-4 col-sm-12 col-xs-12" style="margin: 100px auto;">
		<div class="ibox float-e-margins">
			<div class="ibox-content">
				<ul class="shortcut-box clearfix">
					<li class="col-xs-4 col-sm-4 col-md-3 col-lg-3" data-toggle="modal" data-target="#myModal">
						<div>
							<i class="fa fa-plus-circle"></i>
							<p>添加快捷</p>
						</div>
					</li>
				</ul>
			</div>
		</div>
	</div>
</div>
<!--添加快捷方式模态框开始-->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
	<div class="modal-dialog">
		<div class="modal-content">
			<div class="modal-header clearfix mid">
				<button type="button" class="close mid" data-dismiss="modal" aria-hidden="true">×</button>
				<h4 class="modal-title shortcut-modal-title mid" id="myModalLabel">添加快捷方式</h4>
				<div class="shortcut-search-form mid">
					<form action="">
						<i class="fa fa-search"></i>
						<input type="search" placeholder="请输入要查询的组件...">
					</form>
				</div>
			</div>
			<div class="modal-body shortcut-add-box">
				<div class="shortcut-add-box-left">
					<ul>
						<li class="active" id="li1">
							<i class="fa fa-bars"></i>
							<span>全部</span>
						</li>
						<li>
							<i class="fa fa-car"></i>
							<span>快捷一</span>
						</li>
						<li>
							<i class="fa fa-users"></i>
							<span>快捷二</span>
						</li>
						<li>
							<i class="fa fa-briefcase"></i>
							<span>快捷三</span>
						</li>
						<li>
							<i class="fa fa-user-plus"></i>
							<span>快捷四</span>
						</li>
						<li>
							<i class="fa fa-file-text"></i>
							<span>快捷五</span>
						</li>
						<li>
							<i class="fa fa-wrench"></i>
							<span>快捷六</span>
						</li>
						<li>
							<i class="fa fa-pencil-square"></i>
							<span>快捷七</span>
						</li>
						<li>
							<i class="fa fa-building"></i>
							<span>快捷八</span>
						</li>
						<li>
							<i class="fa fa-bar-chart"></i>
							<span>快捷九</span>
						</li>
						<li>
							<i class="fa fa-cog"></i>
							<span>快捷十</span>
						</li>
						<div class="lanPos"></div>
					</ul>
				</div>
				<div class="shortcut-add-box-right">
					<div class="car-info-shortcut shortcut-element-list">
						<h5><span>快捷一</span></h5>
						<ul class="shortcut-element-box clearfix">
							<li>
								<i class="fa fa-car"></i>
								<span>快捷方式1</span>
							</li>
						</ul>
					</div>
					<div class="person-shortcut shortcut-element-list">
						<h5><span>快捷二</span></h5>
						<ul class="shortcut-element-box clearfix">
							<li>
								<i class="fa fa-user-times"></i>
								<span>快捷方式2</span>
							</li>
						</ul>
					</div>
					<div class="enterprise-info-shortcut shortcut-element-list">
						<h5><span>快捷三</span></h5>
						<ul class="shortcut-element-box clearfix">
							<li>
								<i class="fa fa-male"></i>
								<span>快捷方式3</span>
							</li>
							<li>
								<i class="fa fa-hand-pointer-o"></i>
								<span>快捷方式4</span>
							</li>
						</ul>
					</div>
					<div class="enterprise-server-shortcut shortcut-element-list">
						<h5><span>快捷四</span></h5>
						<ul class="shortcut-element-box clearfix">
							<li>
								<i class="fa fa-user-plus"></i>
								<span>快捷方式5</span>
							</li>
						</ul>
					</div>
					<div class="enterprise-server-shortcut shortcut-element-list">
						<h5><span>快捷五</span></h5>
						<ul class="shortcut-element-box clearfix">
							<li>
								<i class="fa fa-male"></i>
								<span>快捷方式6</span>
							</li>
						</ul>
					</div>
					<div class="repair-info-shortcut shortcut-element-list">
						<h5><span>快捷六</span></h5>
						<ul class="shortcut-element-box clearfix">
							<li>
								<i class="fa fa-taxi"></i>
								<span>快捷方式7</span>
							</li>
						</ul>
					</div>
					<div class="examine-shortcut shortcut-element-list">
						<h5><span>快捷七</span></h5>
						<ul class="shortcut-element-box clearfix">
							<li>
								<i class="fa fa-check-square-o"></i>
								<span>快捷方式8</span>
							</li>
							<li>
								<i class="fa fa-list-alt"></i>
								<span>快捷方式9</span>
							</li>
						</ul>
					</div>
					<div class="examine-shortcut shortcut-element-list">
						<h5><span>快捷八</span></h5>
						<ul class="shortcut-element-box clearfix">
							<li>
								<i class="fa fa-building"></i>
								<span>快捷方式10</span>
							</li>
						</ul>
					</div>
					<div class="examine-shortcut shortcut-element-list">
						<h5><span>快捷九</span></h5>
						<ul class="shortcut-element-box clearfix">
							<li>
								<i class="fa fa-bar-chart"></i>
								<span>快捷方式11</span>
							</li>
						</ul>
					</div>
					<div class="examine-shortcut shortcut-element-list">
						<h5><span>快捷十</span></h5>
						<ul class="shortcut-element-box clearfix">
							<li>
								<i class="fa fa-cog"></i>
								<span>快捷方式12</span>
							</li>
						</ul>
					</div>
				</div>
			</div>
			<div class="modal-footer">
				<button type="button" class="btn btn-primary" id="shortcutEnter">确认</button>
			</div>
		</div><!-- /.modal-content -->
	</div><!-- /.modal-dialog -->
</div>
<!--添加快捷方式模态框结束-->
<div style="text-align:center;margin:50px 0; font:normal 14px/24px 'MicroSoft YaHei';">
</div>



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


热门标签: 右键菜单 图片头像上传 文字提示框 文件上传 提示框/弹出层 文本框 layer 下拉框 lightbox 复选 单选 Tooltip工具提示框 登录框 浮动提示框 注册框 html5弹窗动画 搜索框 验证码 二级联动 三级联动 城市选择 value赋值 筛选 按钮控制 购物车 颜色选择 表单提交 全选/反选 添加删除 添加标签 密码强度验证 表单验证 html5按钮动画 按钮样式 密码修改设置 弹出层拖动 窗口提示框 切换按钮 form表单

×
×

注册

官方QQ群

扫描上面二维码加微信群

官方QQ群

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

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