Michael Winter <M.Winter@bluey onder.co.invali d> wrote in message news:<opr3wd8yv j5vklcq@news-text.blueyonder .co.uk>...[color=blue]
> On 24 Feb 2004 14:13:47 -0800, John <johnmark@faste rmail.com> wrote:
>[color=green]
> > I would like to use setTimeout and window.open methods to pop up
> > window every 5 minutes. I can only manage to make the window to pop up
> > only twice.
> >
> > function openWindow() {
> > window.open("po pupwindow.htm", "OpenedWind ow",
> > "width=320,heig ht=240, scrollbars=yes, resizable=yes,s tatus=yes");
> >
> > }
> > function settime() {
> > setTimeout("ope nWindow()", 300 * 1000);
> > }
> >
> > So what is the problem that is making the window never to come back
> > when the user closes the popped window the second time?[/color]
>
> The solution is simple, but first, I would like to know why you would want
> to do something like this. It sounds remarkably like pop-up banner
> behaviour.
>
> Of course, I don't really care personally: Opera (my browser) blocks that
> kind of pop-up. However, I would be concerned for other users, and I won't
> endorse something so disruptive.
>
> Mike[/color]
This is a friendly popup window that reminds a retailer that he has
not taken care of the orders that has come to his site. He has an
option for disabling the window and also if he takes care of the
orders the window will not pop up.
John
> On 24 Feb 2004 14:13:47 -0800, John <johnmark@faste rmail.com> wrote:
>[color=green]
> > I would like to use setTimeout and window.open methods to pop up
> > window every 5 minutes. I can only manage to make the window to pop up
> > only twice.
> >
> > function openWindow() {
> > window.open("po pupwindow.htm", "OpenedWind ow",
> > "width=320,heig ht=240, scrollbars=yes, resizable=yes,s tatus=yes");
> >
> > }
> > function settime() {
> > setTimeout("ope nWindow()", 300 * 1000);
> > }
> >
> > So what is the problem that is making the window never to come back
> > when the user closes the popped window the second time?[/color]
>
> The solution is simple, but first, I would like to know why you would want
> to do something like this. It sounds remarkably like pop-up banner
> behaviour.
>
> Of course, I don't really care personally: Opera (my browser) blocks that
> kind of pop-up. However, I would be concerned for other users, and I won't
> endorse something so disruptive.
>
> Mike[/color]
This is a friendly popup window that reminds a retailer that he has
not taken care of the orders that has come to his site. He has an
option for disabling the window and also if he takes care of the
orders the window will not pop up.
John
Comment