...

View Full Version : How I can change color of taskbar in minized window during chat



ankit.pandey3
09-14-2011, 08:40 AM
blinkOnNewMessage: function(dateObject, userID, userName, userRole, messageID, messageText, channelID, ip) {
if(this.settings['blink'] && this.lastID && !this.channelSwitch && userID != this.userID) {
clearInterval(this.blinkInterval);
this.blinkInterval = setInterval(
'ajaxChat.blinkUpdate(\''+this.addSlashes(this.decodeSpecialChars(userName))+'\')',
this.settings['blinkInterval']
);
}
},

blinkUpdate: function(blinkStr) {

if(!this.originalDocumentTitle) {
this.originalDocumentTitle = document.title;
}
if(!arguments.callee.blink) {
document.title = '[@ ] '+blinkStr+' - '+this.originalDocumentTitle;
arguments.callee.blink = 1;
} else if(arguments.callee.blink > this.settings['blinkIntervalNumber']) {
clearInterval(this.blinkInterval);
document.title = this.originalDocumentTitle;
arguments.callee.blink = 0;
} else {
if(arguments.callee.blink % 2 != 0) {
document.title = '[**** ] '+blinkStr+' - '+this.originalDocumentTitle;
} else {
document.title = '[ New message!!!] '+blinkStr+' - '+this.originalDocumentTitle;
}
arguments.callee.blink++;
}
},

Hi friends, I want to flash taskbar when user minimized window during chat.
I have above code which simply change the title name but i want to change the color also of taskbar.
How I can do it??
Please help???
Thanks in advance.....



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum