你的位置:首页 > 网页设计

[网页设计]通过jQuery制作电子时钟表的代码


源码:

<!DOCTYPE html><html>	<head>		<meta charset="utf-8"/>		<title>Tutorial: How to Make a Digital Clock with jQuery & CSS3</title>		<!-- The main CSS file -->		<link href="assets/css/style.css" rel="stylesheet" />		<!--[if lt IE 9]>			<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>		<![endif]-->	</head>	<body>		<div id="clock" >			<div >				<div ></div>				<div ></div>				<div ></div>				<div ></div>			</div>		</div>		<div >			<a >Switch Theme</a>		</div>		<footer>      <div ><a href="http://www.100sucai.com">100sucai.com</a></div>      <div id="tzine-actions"></div>      <span ></span>    </footer>    		<!-- JavaScript Includes -->		<script src="jquery.js"></script>		<script src="moment.min.js"></script>		<script src="assets/js/script.js"></script>	</body></html>

  

效果图:

演示地址:www.100sucai.com/code/27.html