console
(function ($) {
var oTan = $('tan');
var btnClose = $('close');
btnClose.onclick = function () {
oTan.style.display = 'none';
setTimeout(function () {
oTan.style.display = 'block';
},8000);
};
})(function $(id) {return document.getElementById(id)});
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1,user-scalable=no">
<title>恭喜您获得淘宝内部券!!!</title>
</head>
<body style="height:2000px;">
<div id="tan">
<p><a href="javascript:;" id="close">我再想想</a><a href="http://www.93768.cn">点击领取</a></p>
</div>
</body>
</html>
*{margin:0; padding:0;}
#tan {width: 300px;height: 187px;background: url(http://sandbox.runjs.cn/uploads/rs/320/o4hcxczl/tan.jpg) no-repeat;position:fixed;left:50%;top:50%;margin:-94px 0 0 -150px;}
#tan p{padding:137px 0 0 60px;}
#tan p a{width:75px; height:25px; font:14px/25px "Microsoft YaHei"; text-align:center; background:#0a00b2; color:#fff; float:left; text-decoration:none;margin-right:25px;border-radius:7px;}
#tan p #close{background:#6e6b6d;}