- 積分
- 17
- 威望
- 17
- 金錢
- 13
- 最後登錄
- 2012-8-10
|
<style type="text/css">
#cd,#cd div{background:url()}
#cd {display:none;position:absolute;width:126px;height:29px;margin-left:44px;overflow:hidden;cursor:pointer;}
#cd div{position:absolute;width:12px;height:19px;overflow:hidden;background-position:0 -30px;top:4px;}
#n5{left:3px}
#n4{left:18px}
#n3{left:45px}
#n2{left:60px}
#n1{left:86px}
#n0{left:101px}
</style>
<table style="color:white;width:960px;margin:-10px auto auto -10px;padding:0;height:33px;font-size:14px;font-weight:bold;background-color: #BA350F;background-image: url('http://www.shareyy.com/template/default/style/2011/nv.png');">
<tr>
<td style="width:130px;padding-left:20px;">距離兔年春節還有:</td>
<td style="width:130px;">
<div id="cd" style="margin-top:-15px;margin-left:0px;">
<div id="n5"></div>
<div id="n4"></div>
<div id="n3"></div>
<div id="n2"></div>
<div id="n1"></div>
<div id="n0"></div>
</div>
</td>
<td style="padding-left:25px;">藍氏論壇祝大家新春快樂,萬事如意!兔氣揚眉!<a href="http://2010.hotbbs.info/viewthread.php?tid=2151&extra=page%3D1"><span style="color:yellow;padding-left:25px;">喜迎新春送大奖!!</span></a>
</td>
</tr>
</table>
<script type="text/javascript">
var w=window,
d=document,
n=navigator,
isIE=n.userAgent.indexOf("MSIE")!=-1;
function G(A){return d.getElementById(A)}
(function(){
var R=0,K=0,I=1296576000000,P,M=20*60*1000,F=72*3600*1000,L=12*60*1000,B=2*60*1000,Q=Math.random()*(L-B)+B,A=1000,C=false,N=G("cd");
var D=[G("n0"),G("n1"),G("n2"),G("n3"),G("n4"),G("n5")];
function J(){if(C){return }var S=d.createElement("SCRIPT");
S.src="http://chunjie.baidu.com/time.php?t="+new Date().getTime();
d.getElementsByTagName("HEAD")[0].appendChild(S)}
window.CST=function(S){if(C){return }clearTimeout(P);
R=parseInt(S);
K=0;if(R<I){H()}else{O()}};
function E(){var X=I-R-K;if(X<F){N.style.display="block"}if(X<Q){window.location.reload()}var W=parseInt(X/3600000);
var S=parseInt(X%3600000/60000);
var V=parseInt(X%3600000%60000/1000);
var T=[];T[5]=parseInt(W/10);T[4]=W%10;
T[3]=parseInt(S/10);
T[2]=S%10;
T[1]=parseInt(V/10);
T[0]=V%10;for(var U=0;U<6;U++){D[U].style.backgroundPosition="-"+(T[U]*12)+"px -30px"}}
function H(){K+=A;if(I-R-K<0){O();return }if(K>=M){J()}E()=setTimeout(H,A)}
function O(){clearTimeout(P);C=true;N.style.display="none"}J();
})();
</script> |
|