jquery 模版

开始

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>ޱĵ</title>
<!--
<link rel="stylesheet" href="style.css" type="text/css">
-->
<style type="text/css">
.center
{
width
:960px;
margin
:0 auto;
border
:1px solid #333;
background-color
:#ccc;
}
</style>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js" language="javascript" type="text/javascript">
</script>

<script type="text/javascript">
$(
function() { //$(document).ready( function() {简写
alert("123");
});
</script>
</head>

<body>
<div class="center">test</div>
</body>
</html>





posted @ 2011-09-26 13:36  wangkangluo1  阅读(321)  评论(0编辑  收藏  举报