Check into the Javascript events "onfocus" and "onblur" (forgive my syntax). Focus is when a window becomes 'active' and Blur is when it becomes 'non active'.
-TG > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 15, 2004 10:07 PM > To: PHP general > Subject: [PHP] Active windows > > > I am trying to get my website to refresh when the window > becomes active. > > This is needed so when a user downloads a report and the PDF > is displayed, > there is now a new state in the previously active window. > However, the page > needs to refresh to regenerate the new page. Any ideas on > how to do this? > Can one send header information to a separate window, or > discern between > active and non active windows? > > I know this is a stretch but I thought Iąd ask.... > > /T > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php