■ ステータスバーに点滅文字・時計付き ■
↓のタグソースを
(1) <head>〜</head> 間に書き込んでください。
<script language="JavaScript"> <!-- msg = "ここに好きな文字を書く"; timerID = 10; function Flash2() { ct = new Date(); h = "0"+ct.getHours(); m = "0"+ct.getMinutes(); s = "0"+ct.getSeconds(); h = h.substring(h.length-2,h.length+1); m = m.substring(m.length-2,m.length+1); s = s.substring(s.length-2,s.length+1); cl = "現在時刻【"+h+"時"+m+"分"+s+"秒】"; f = ct.getSeconds() & 1; f == 0 ? str = " " : str = msg; status = cl+str; clearTimeout(timerID); timerID = setTimeout("Flash2()",100); } // --> </script>
(2) <body>に、赤表示のタグソースを書き加えてください。
<body
onload="Flash2()"
>
SEO
掲示板
[PR]
爆速!無料ブログ
無料ホームページ開設
無料ライブ放送