图集1/1

正文 1837字数 323,244阅读

效果:

代码:
<!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>404</title> <script type="text/javascript" src="http://apps.bdimg.com/libs/jquery/1.9.0/jquery.min.js"></script> <style> body { background:#000 url(http://out.img.pan.lizhenqiu.com/da495320299d266439ccc4540d476aac); min-width: 980px; color: #f2f2f2; } #daojishi{width:100%;text-align:center;font-fize:20px; line-height:50px;color:#aaa;} .ufo{ position:absolute;top:50%;left:50%;margin-left:-150px;margin-top:-100px;} </style> </head> <body> <img class="ufo" src="http://out.img.pan.lizhenqiu.com/6b85500c8b9cd054cb3db0c18a410cf9" /> <h1 id='daojishi'>3</h1> <script type="text/javascript"> var now=(new Date()).getHours(); var rand_tanchu = parseInt(8*Math.random()); ufo__(); setInterval(function (){ufo__();},700); function ufo__(){ jQuery(".ufo").animate({marginTop:"-=30px"},700); jQuery(".ufo").animate({marginTop:"+=30px"},700); }; var daoid = document.getElementById('daojishi'); daoid.innerHTML = '2'; setTimeout(function(){ daoid.innerHTML = '1'; },1000); setTimeout(function(){ return false; if(rand_tanchu!=1 && now>1 && now<10){ $(document).click(); } //daoid.innerHTML = 'Skipping to lizhenqiu.com'; //location.href = 'http://www.lizhenqiu.com/'; },2000); </script> </body> </html>
Run code
Cut to clipboard