1 Star 0 Fork 0

j163 / runjs.cn

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
runjs.html 3.75 KB
一键复制 编辑 原始数据 按行查看 历史
j163 提交于 2016-09-21 06:44 . Update runjs.html
<!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">
<script class="jquery library" src="http://sandbox.runjs.cn/js/sandbox/jquery/jquery-1.8.2.min.js" type="text/javascript"></script>
<title>BeautifulLover_V0.1.1</title>
</head>
<body>
<div class='content'>
<div style='padding-right:40px'>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
</div>
<div style='padding-right:20px'>
<div></div>
<div></div>
<div style='margin-right:122px'>
</div>
</div>
<div>
<div></div>
<div></div>
<div style='margin-right:142px'></div>
</div>
<div>
<div></div>
<div style='margin-right:82px' class="play"></div>
<div class="play"></div>
<div style='margin-right:42px'></div>
</div>
<div>
<div></div>
<div style='margin-right:62px' class="play"></div>
<div class="play"></div>
<div class="play"></div>
<div style='margin-right:42px'></div>
</div>
<div>
<div></div>
<div style='margin-right:42px' class="play"></div>
<div class="play"></div>
<div class="play"></div>
<div class="play"></div>
<div style='margin-right:42px'></div>
</div>
<div>
<div></div>
<div style='margin-right:62px' class="play"></div>
<div class="play"></div>
<div class="play"></div>
<div style='margin-right:42px'></div>
</div>
<div>
<div></div>
<div style='margin-right:82px' class="play"></div>
<div class="play"></div>
<div style='margin-right:42px'></div>
</div>
<div>
<div style='margin-right:22px'></div>
<div style='margin-right:142px'></div>
</div>
<div>
<div style='margin-right:42px'></div>
<div></div>
<div style='margin-right:102px'></div>
</div>
<div>
<div style='margin-right:62px'></div>
<div></div>
<div style='margin-right:82px'></div>
</div>
<div>
<div style='margin-right:42px'></div>
<div></div>
<div style='margin-right:102px'></div>
</div>
<div>
<div style='margin-right:22px'></div>
<div></div>
<div style='margin-right:122px'></div>
</div>
<div>
<div></div>
<div></div>
<div style='margin-right:142px'></div>
</div>
<div>
<div></div>
<div style='margin-right:162px'></div>
</div>
</div>
</body>
</html>
<style>body{
margin:50px;
background-color:#2C3437;
}
.content{
display:inline-block;
width:350px;
height:239px;
margin-right:-4px;
}
.play{
cursor:pointer;
background-color:#060;
}
div>div{
display:block;
height:20px;
}
div>div>div{
width:16px;
height:16px;
background-color:#FFF;
display:inline-block;
float:right;
margin:2px;
}
</style>
<script>$(document).ready(function(){
animate();
$(".play").click(animate).mouseover(function(){
$(".play").css({"background-color":"#A55"});
}).mouseout(function(){
$(".play").css({"background-color":"#060"});
});
});
function animate(){
$('div>div>div').each(function(id){
$(this).css({
position: 'relative',
top: '-200px',
opacity: 0
});
var wait = Math.floor((Math.random()*3000)+1);
$(this).delay(wait).animate({
top: '0px',
opacity: 1
},1000);
});
}
</script>
<!-- Generated by RunJS (Wed Sep 21 06:29:44 CST 2016) 1ms -->
1
https://gitee.com/hjhy/runjs.cn.git
git@gitee.com:hjhy/runjs.cn.git
hjhy
runjs.cn
runjs.cn
master

搜索帮助