87,907
社区成员
发帖
与我相关
我的任务
分享
<script type="text/javascript">
window.onload=function(){
setInterval(shine,1000);//按1000毫秒=1秒周期调用shine()方法.
}
//闪烁提示用户有新消息
function shine()
{
document.title = (document.title=='你有新的短消息'?'':'你有新的短消息')
}
</script>
<script type="text/javascript" src="../../include/jquery/tablesorter.pager/jquery-latest.js"></script>
<script type="text/javascript">
$(document).ready(function()
{
setInterval(shine,1000);
}
);
var shine=function()
{
//document.title = new Date().getTime();
document.title = (document.title=='你有新的短消息'?'':'你有新的短消息')
}
</script>