|
var happyNO = "555793";
if(readCookie('cSoundHappy')=='1'){
imgSound = '<img src="http://s.doudouimg.com/images2/games/sound1.gif" align="absmiddle" style="cursor:pointer" title="关闭开奖声音">';
}
else{
imgSound = '<img src="http://s.doudouimg.com/images2/games/sound0.gif" align="absmiddle" style="cursor:pointer" title="打开开奖声音">';
}
document.getElementById("fSound").innerHTML = imgSound;
function ShowSecond(cDate){
if(happyNO != ""){
if((cDate <= 3 && readCookie('happyState')=='autoMove' )|| (cDate <= 3 && document.getElementById("happySwitch").value=='autoMove')){
document.getElementById("happyVideo").style.display = 'block';
}
if(cDate > 1){
document.getElementById("fHappy").innerHTML = "离第"+happyNO+"期开奖时间还有"+(--cDate)+"秒";
setTimeout("ShowSecond("+cDate+")",1000);
}
else{
wavSound = '';
if(readCookie('cSoundHappy')=='1'){
wavSound = '<embed src="http://s.doudouimg.com/images2/sound/security.wav" autostart=true hidden=true loop=false>';
}
document.getElementById("fHappy").innerHTML = "第"+happyNO+"期正在开奖,请刷新页面查看开奖号码。"+wavSound;
}
}
}
cDate 这个应该是参数 可是 我找不到他的值
大家帮我分析下 谢谢啦
网站http://yx.doudou.com/happy.php |
求助知识:请将问题描述清楚,最好把你有问题的源码打包上传上来,这样更方便大家帮助你。 友情提醒:本版被采纳的主题可在 申请荣誉值 帖子申请荣誉值,获得 3点 荣誉值,荣誉值可兑换荣誉会员、终身vip用户组。
|