View Full Version : flash browser with new chat line
08-10-2005, 06:41 PM
i want to put in some code to flash the browser whenever a new chat line comes in my page. any tutorials or code you guys can help me with would be great. :thumbsup: :D
08-12-2005, 06:48 PM
anyone? is there at least code that can change the title of the page to simulate the flashing so you know someone is chating?
08-12-2005, 07:57 PM
nevermind guys, i figured it out myself. you can either use document.title = "New Chat" in some kinda timer that flashes, or just give the window focus and it will automatically flash it for you. dont know why i didnt think of this before.
if refreshchecker <> Session("CLINES") then
08-12-2005, 08:07 PM
DANG, its not working in firefox, anyone know why parent.window.focus doesnt work in firefox?
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.