471,311 Members | 1,890 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

Auto-opening popup script when the window is minimized

Hello all,

I have a very simple PHP script that is reading a plain-text CSV file
and parses it out into into a HTML table to display the data. No
biggie.

What I want to do is while keeping the browser window for that page
open and minimized, i want to be able to maximize the window when the
text file has been update. This is a small script that is being used
for some dispatchers at a taxi company and the popup window is
supposed to be their list of customers to pickup. The company has
several dispatchers who are constantly updating a proprietary system,
and this system has a special program that spits out the data for
customers who need to be picked up. Every dispatcher has a link to
this PHP webpage to display the next available pickups. The only
problem is that they want to be able to minimize the browser window
and have it open automatically when a name has either been added or
removed from the pickup list.

Is is possible to integrate a javascript function to do this with PHP?

THANKS!

Jun 13 '07 #1
3 3294
xp**************@gmail.com said the following on 6/13/2007 9:34 AM:
Hello all,

I have a very simple PHP script that is reading a plain-text CSV file
and parses it out into into a HTML table to display the data. No
biggie.

What I want to do is while keeping the browser window for that page
open and minimized, i want to be able to maximize the window when the
text file has been update.
You can't. If a user wants it minimized, then the page author can't
over-ride that choice.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Jun 13 '07 #2
On Jun 13, 12:37 pm, Randy Webb <HikksNotAtH...@aol.comwrote:
xplosiveconce...@gmail.com said the following on 6/13/2007 9:34 AM:
Hello all,
I have a very simple PHP script that is reading a plain-text CSV file
and parses it out into into a HTML table to display the data. No
biggie.
What I want to do is while keeping the browser window for that page
open and minimized, i want to be able to maximize the window when the
text file has been update.

You can't. If a user wants it minimized, then the page author can't
over-ride that choice.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ -http://jibbering.com/faq/index.html
Javascript Best Practices -http://www.JavascriptToolbox.com/bestpractices/
Really? I thought for sure it would be possible with some DOM or
Javascript trickery. Any ideas on how I could simulate something such
as this?

Jun 13 '07 #3
xp**************@gmail.com said the following on 6/13/2007 1:50 PM:
On Jun 13, 12:37 pm, Randy Webb <HikksNotAtH...@aol.comwrote:
>xplosiveconce...@gmail.com said the following on 6/13/2007 9:34 AM:
>>Hello all,
I have a very simple PHP script that is reading a plain-text CSV file
and parses it out into into a HTML table to display the data. No
biggie.
What I want to do is while keeping the browser window for that page
open and minimized, i want to be able to maximize the window when the
text file has been update.
You can't. If a user wants it minimized, then the page author can't
over-ride that choice.
Really?
Yep, really.
I thought for sure it would be possible with some DOM or Javascript trickery.
Nope.
Any ideas on how I could simulate something such as this?
Make the data page a popup and have them disable tabs in IE7 so that it
opens a true new window and it will popup. Otherwise, give up and save
yourself a lot of headaches.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Jun 13 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Robert Downes | last post: by
9 posts views Thread by Alan Mackenzie | last post: by
20 posts views Thread by Vijay Kumar R. Zanvar | last post: by
7 posts views Thread by Brian | last post: by
5 posts views Thread by maya | last post: by
13 posts views Thread by S.Dickson | last post: by
22 posts views Thread by nospam_news | last post: by
1 post views Thread by neridaj | last post: by

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.