利用jquery实现百度图片搜索效果



55 218 73



特效描述:利用jquery实现 百度图片 搜索效果,利用jquery实现百度图片搜索效果

代码结构

1. 引入JS

<script id="jquery_183" type="text/javascript" class="library" src="js/jquery-1.8.3.min.js"></script>

2. HTML代码

	<div class="main">
		<div class="imgtag">
			<div class="tag_item">
				<a style="height:100%; width:100%" href="http://51qianduan.com/">
				<img style="width:100%" src="images/w_meinv.jpg?0129">
				</a>
				<div class="taglist" style="width: 46px;">
					<ul class="tags">
						<li class="tag tag1"><a href="javascript:void(0)">美女</a></li>
						<li class="tag tag2"><a href="javascript:void(0)">诱惑</a></li>
						<li class="tag tag2"><a href="javascript:void(0)">写真</a></li>
						<li class="tag tag2"><a href="javascript:void(0)">小清新</a></li>
					</ul>
				</div>
			</div>
		</div>	
		<div class="imgtag">
			<div class="tag_item">
				<a style="height:100%; width:100%" href="http://51qianduan.com/">
				<img style="width:100%" src="images/w_mengchong.jpg?0129">
				</a>	
				<div class="taglist" style="width: 46px;">
					<ul class="tags">
						<li class="tag tag1"><a href="javascript:void(0)">宠物</a></li>
						<li class="tag tag2"><a href="javascript:void(0)">萌货</a></li>
						<li class="tag tag2"><a href="javascript:void(0)">金毛</a></li>
						<li class="tag tag2"><a href="javascript:void(0)">喵星人</a></li>
					</ul>
				</div>
			</div>
		</div>
		<div class="imgtag">
			<div class="tag_item">
				<a style="height:100%; width:100%" href="http://51qianduan.com/">
				<img style="width:100%" src="images/w_lvyoufengjing.jpg?0129">
				</a>
				<div class="taglist" style="width: 46px;">
					<ul class="tags">
						<li class="tag tag1"><a href="javascript:void(0)">旅游</a></li>
						<li class="tag tag2"><a href="javascript:void(0)">九寨沟</a></li>
						<li class="tag tag2"><a href="javascript:void(0)">美景</a></li>
						<li class="tag tag2"><a href="javascript:void(0)">泰国</a></li>
					</ul>
				</div>
			</div>
		</div>
		<div class="imgtag">
			<div class="tag_item">
				<a style="height:100%; width:100%" href="http://51qianduan.com/">
				<img style="width:100%" src="images/w_sheying.jpg?0129">
				</a>
				<div class="taglist" style="width: 46px;">
					<ul class="tags">
						<li class="tag tag1"><a href="javascript:void(0)">旅游</a></li>
						<li class="tag tag2"><a href="javascript:void(0)">九寨沟</a></li>
						<li class="tag tag2"><a href="javascript:void(0)">美景</a></li>
						<li class="tag tag2"><a href="javascript:void(0)">泰国</a></li>
					</ul>
				</div>
			</div>
		</div>
		<div class="imgtag">
			<div class="tag_item">
				<a style="height:100%; width:100%"  href="http://51qianduan.com/">
				<img style="width:100%" src="images/w_bizhi.jpg?0129">
				</a>
				<div class="taglist" style="width: 46px;">
					<ul class="tags">
						<li class="tag tag1"><a href="javascript:void(0)">旅游</a></li>
						<li class="tag tag2"><a href="javascript:void(0)">九寨沟</a></li>
						<li class="tag tag2"><a href="javascript:void(0)">美景</a></li>
						<li class="tag tag2"><a href="javascript:void(0)">泰国</a></li>
					</ul>
				</div>	
			</div>
		</div>
		<div class="imgtag">
			<div class="tag_item">
				<a style="height:100%; width:100%" href="http://51qianduan.com/">
				<img style="width:100%" src="images/w_yulemingxing.jpg?0129">
				</a>
				<div class="taglist" style="width: 46px;">
					<ul class="tags">
						<li class="tag tag1"><a href="javascript:void(0)">旅游</a></li>
						<li class="tag tag2"><a href="javascript:void(0)">九寨沟</a></li>
						<li class="tag tag2"><a href="javascript:void(0)">美景</a></li>
						<li class="tag tag2"><a href="javascript:void(0)">泰国</a></li>
					</ul>
				</div>
			</div>	
		</div>
		<div class="imgtag">
			<div class="tag_item">
				<a style="height:100%; width:100%" href="http://51qianduan.com/">
				<img style="width:100%" src="images/w_qiche.jpg?0129">
				</a>	
				<div class="taglist" style="width: 46px;">
					<ul class="tags">
						<li class="tag tag1"><a href="javascript:void(0)">旅游</a></li>
						<li class="tag tag2"><a href="javascript:void(0)">九寨沟</a></li>
						<li class="tag tag2"><a href="javascript:void(0)">美景</a></li>
						<li class="tag tag2"><a href="javascript:void(0)">泰国</a></li>
					</ul>
				</div>
			</div>
		</div>
		<div class="imgtag">
			<div class="tag_item">
				<a style="height:100%; width:100%" href="http://51qianduan.com/">
				<img style="width:100%" src="images/w_chuangyisheji.jpg?0129">
				</a>	
				<div class="taglist" style="width: 46px;">
					<ul class="tags">
						<li class="tag tag1"><a href="javascript:void(0)">旅游</a></li>
						<li class="tag tag2"><a href="javascript:void(0)">九寨沟</a></li>
						<li class="tag tag2"><a href="javascript:void(0)">美景</a></li>
						<li class="tag tag2"><a href="javascript:void(0)">泰国</a></li>
					</ul>
				</div>
			</div>
		</div>
		<div class="imgtag">
			<div class="tag_item">
				<a style="height:100%; width:100%" href="http://51qianduan.com/">
					<img style="width:100%" src="images/w_quweigaoxiao.jpg?0129">
				</a>	
				<div class="taglist" style="width: 46px;">
					<ul class="tags">
						<li class="tag tag1"><a href="javascript:void(0)">旅游</a></li>
						<li class="tag tag2"><a href="javascript:void(0)">九寨沟</a></li>
						<li class="tag tag2"><a href="javascript:void(0)">美景</a></li>
						<li class="tag tag2"><a href="javascript:void(0)">泰国</a></li>
					</ul>
				</div>
			</div>
		</div>
		<div class="imgtag">
			<div class="tag_item">
				<a style="height:100%; width:100%" href="http://51qianduan.com/">
				<img style="width:100%" src="images/w_dongmanyouxi.jpg?0129">
				</a>
				<div class="taglist" style="width: 46px;">
					<ul class="tags">
						<li class="tag tag1"><a href="javascript:void(0)">旅游</a></li>
						<li class="tag tag2"><a href="javascript:void(0)">九寨沟</a></li>
						<li class="tag tag2"><a href="javascript:void(0)">美景</a></li>
						<li class="tag tag2"><a href="javascript:void(0)">泰国</a></li>
					</ul>
				</div>
			</div>		
		</div>
	</div>



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


热门标签: 图片放大镜 缩略图 文字放大缩小 图片放大缩小 图片相册 数字放大缩小 图片墙 百叶窗 图片网格 图片九宫格 图片高亮 图片对比 图片文字 单排图片 响应式图片 图片列表 图片拖动 图片放大镜 图片叠加 图片翻转旋转 图片延迟加载 图片淡出淡进 图片全屏 图片头像上传 二维码 图片广告 图片放大缩小 html5图片动画 带缩略图的幻灯片 地图 图片滚动 图片滑动 图片切换 图片收缩展开 旋转木马 图片轮播 自动滚动图片轮播 图标导航菜单 背景切换 手风琴 缩放放大缩小 缩放切换 图表 图片 头像截图

×
×
51前端

注册

官方QQ群
qq群

扫描上面二维码加微信群

官方QQ群

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

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