css动画

<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="../css/xinjiang.css"/>
		<script type="text/javascript" src="../js/jquery-1.8.2.min.js"></script>
		<script type="text/javascript">
			$(function(){
				var i=0;
				$("#hehe").live("click",function(){
					  if (i%2==0) {
					  	$("#tu").attr({"src":"../img/a11.jpg"});
					  	i+=1;
					  }else{
					  	$("#tu").attr({"src":"../img/a3.jpg"});
					  	i+=1;
					  }
    				  
				})
			})
		</script>
	</head>
	<body>
		<div id="header">
			<div id="a1">
				<div id="d3">
					<div id="d1">
					<br /><br /><br /><br /><br /><br />
					<span style="font-size: 70px; text-align: center; color: white;">  新疆</span>
				</div>
				<div id="d2">
					<br /><br /><br /><br /><br /><br /><br /><br />
					<span style="font-size: 30px; color: white;">行知书</span>
				</div>
				</div>
			</div>
			<div id="a2">
				<table border="0" style="width: 1000px; text-align: center; line-height: 45px;" >
					<tr>
						<td id="aa">
							<a href="#" id="hehe">首页</a>
						</td>
						<td id="aa">
							<a href="#" id="hehe">新疆简介</a>
						</td>
						<td id="aa">
							<a href="#" id="hehe">风十人情</a>
						</td>
						<td id="aa">
							<a href="#" id="hehe">吃在新疆</a>
						</td>
						<td id="aa">
							<a href="#" id="hehe">路线选择</a>
						</td>
						<td id="aa">
							<a href="#" id="hehe">自助行</a>
						</td>
						<td id="aa">
							<a href="#" id="hehe">摄影摄像</a>
						</td>
						<td id="aa">
							<a href="#" id="hehe">游记精选</a>
						</td>
						<td id="aa">
							<a href="#" id="hehe">资源下载</a>
						</td>
						<td id="aa">
							<a href="#" id="hehe">雁过留言</a>
						</td>
						
					</tr>
				</table>
			</div>
			<div id="b1">
				<div id="c1">
					<img src="../img/a11.jpg"/ style=" width: 250px; height: 200px;">
				</div>
				<div id="c2">
					<img src="../img/a10.jpg" style=" width: 250px; height: 200px;">
				</div>
			</div>
			<div id="b2">
				<img src="../img/a8.jpg"/ width="500px" height="400px" id="tu">
			</div>
			<div id="b3">
				<div id="e1">
					<img src="../img/a3.jpg" style=" width: 250px; height: 200px;">
				</div>
				<div id="e2">
					<img src="../img/a7.jpg" style=" width: 250px; height: 200px;">
				</div>
			</div>
		</div>
	</body>
</html>

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值