當有新訊息或網頁有Ajax內容變動時, 可以閃動瀏覽器標題(或Tab標題), 提示使用者.
self.start = function(title, selout){
self.start = function(title, self){
(); = undefined){
self.title = title;
self.timeout = timeout == undefined? 600: timeout;
. f.title : backup;
}
blink();
timer = setInterval(blink, self.timeout);
self.stop = function(){
}
self.stop = function(){
.oo);
clearInterval(timer);
}
}
self.start(title, timeout);
}
}
var blink = new BlinkTitle('1233); >