Fork me on GitHub
首页 > 免费资源 > 网站LED带时间文字显示广告牌

网站LED带时间文字显示广告牌



<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=yes">
<title>LED效果</title>
<style>
*{margin:0;padding:0}
marquee{color:#ffff00;line-height:30px;width:100%;font-family:'黑体';font-size:30px;text-shadow:#ff0000 1px 1px 0px}
</style><style type="text/css"></style></head>



<body>
<table border="0" cellspacing="0" cellpadding="0" width="100%" align="center" bgcolor="#000000">
<tbody>
<tr style="line-height:15px">
<td width="80px"><span id="systimeshow" style="color:#FF0000;font-size:14px">2020/09/25<br>01:01:12<br>星期五</span></td>
<td>
<marquee scrollamount="8">欢迎光临我的网站 www.mp3.wf 谢谢你的支持。</marquee>
</td>
</tr>
</tbody>
</table>
<script>
function getCurDate()
{
var d = new Date();
var week;
switch (d.getDay()){
case 1: week="星期一"; break;
case 2: week="星期二"; break;
case 3: week="星期三"; break;
case 4: week="星期四"; break;
case 5: week="星期五"; break;
case 6: week="星期六"; break;
default: week="星期天";
}
var years = d.getFullYear();
var month = add_zero(d.getMonth()+1);
var days = add_zero(d.getDate());
var hours = add_zero(d.getHours());
var minutes = add_zero(d.getMinutes());
var seconds=add_zero(d.getSeconds());
var ndate = years+"/"+month+"/"+days+"<br>"+hours+":"+minutes+":"+seconds+"<br>"+week;
var divT=document.getElementById("systimeshow"); 
divT.innerHTML= ndate; 

下载直接另存为保存 
 
演示效果 https://gaoblog.com/usr/uploads/2020/09/4181386331.html
Fork me on GitHub

上一篇: clipboard插件实现文字复制

下一篇: 已是最新的文章

Title - Artist
0:00