動画を移動して、拡張機能を使うことができます.
1256 ワード
<!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>
<title></title>
<meta http-equiv="connet-type" connet="text/html;charset=utf-8">
<meta name="keywords" content="DNS,FTP,MAIL,IT">
<meta name="description" content="">
<style type="text/css">
body{font-size:12px;font-family:' ';}
div
{
width:160px;
height:120px;
}
</style>
</head>
<body>
<div>
<p style="background-color:green;width:200px;height:50px" id="huang">huangyanxiong</p>
</div>
<script type="text/javascript">
var p=document.getElementById("huang")
var i=0;
function move(start){
i++;
if(i<=500){
p.style.marginLeft=i+"px";
setTimeout("move()",10);
}
}
move();
</script>
</body>
</html>