473,385 Members | 1,766 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

A way to have the window to blink ?

I have done a JavaScript-based chat system that looks like LivePerson, but
the problem is, if my browser window is minimized, I don't know when some
one is connected or not.

Is there a way to have the reduced window to blink or to restore/maximize
when an event is true using JS?

--
Thanks,

Justin.
http://www.auriance.com - http://www.auriance.net
Jul 23 '05 #1
2 6167
VK
if (someTrue) {self.focus();}
or
if (someTrue) {self.top.focus();} // for a frameset

to make it restore, but it will steal the focus every time, I don't
think your users will appreciate that.

Better try some second best, for example a blinking "!" in the window
titlebar using setTimeout() and document.title.

Jul 23 '05 #2
Close and open your eyelids very rapidly.

Jul 23 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Joseph Barron | last post by:
Here is a SIMPLE problem that I'm trying to solve. It works in Netscape 6.2, but IE6 gives ""No such interface supported." Below are page1.htm and page2.htm . In page1.htm, there are two...
3
by: Paresh Shah | last post by:
Hi All, I have a specific requirement, please help me out. I have a web site where multiple html pages are opened at a time & messages are received or those pages are refreshed automatically...
6
by: Terry Olsen | last post by:
I need to make a terminal window to emulate special characters of a vintage PC. I don't think I can use a console because you can't change its font...can you? So what is the best way to make a...
3
by: Frances | last post by:
this is for a browser window that contains a chat app that is an applet... when browser window is not in focus I would like users to somehow get notified when a message arrives, more or less like...
2
by: Charles | last post by:
Is there a way to detect if a window is out of focus? Here's what I need it for: I have a web-based chat application that one of the 2 people chatting may have the chat window open or minimized....
5
by: baretq | last post by:
Hi everyone is there something i can use instead of getAttention method in JS? this seems not to work in IE and FF regards
3
by: hini | last post by:
Is there a javascript function that makes a minimized window blink ? ( ie change it's color like msn messenger when u receive a new message from somebody)
2
by: jmdolinger | last post by:
Hi all, Sorry if this has been covered before, but is there anyway that one could remove menubars/toolbars from an existing browser window, without having to popup a new window using...
1
by: Pradyumna | last post by:
Hi I want the text of a textbox to blink on my page.How to do this. My requirement is like : There are certain fields on my page which are mandatory and requirement is to bring blink effect of...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.