![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Web Design & Programming Discussion of web design, and server-side & client-side scripting |
![]() |
|
|
Thread Tools |
|
|
#1 (permalink) |
|
Registered User
Join Date: Feb 2005
Posts: 7
OS: XP
|
Javascript window open and close count
Hello!
I'm trying to figure out how to code a Javascript button so that it can keep track of how many windows (or threads) are open at once (adding 1 to a variable each time the link is clicked and the pop-up window is opened, and subtracting 1 each time the pop-up window is closed). The site is http://www.kfoxradio.net, and the button is the "Listen" button on the right. We would like to keep track of how many listeners are currently listening to the broadcast. If possible, we would like to display that on the website also. I am knowledgable of Java but not Javascript. Thanks for all of your help and time! Tech Support Forums is a valuable resource. -John |
|
|
|
![]() |
| Thread Tools | |
|
|