"DU" <drunclear@hotWIPETHISmail.com> wrote in message
news:cb5783$oce$1@news.eusc.inter.net...[color=blue]
> David McCulloch wrote:
>[color=green]
> > "Mike Foster" <mikeNOSPAM@mfosternospam.com> wrote in message
> > news:opr9wpsqv1vseoz3@news.charter.net...
> >[color=darkred]
> > >David McCulloch said:
> > >
> > > > The following code opens a new window, but the "resizeTo" doesn't
> > > > resize it. Why not?
> > > >
> > > >...
> > >
> > > What browser are you using? Some browsers allow you to control
> > > whether or not scripts can open/resize/move/minimize/maximize
> > > windows - like Opera ;-).[/color]
> >
> > I am looking for generic code. As much as possible, I would like to
> > be compatible with the browsers most commonly in use today
> > (IE6+, NS6/7, Opera 6/7, etc.).[/color]
>
> Most people using browsers most commonly in use (MSIE 6, NS 7.x,
> Opera 7.x, Mozilla-based browsers, Safari 1.x, Konqueror 3.x, etc.) have
> browser user prefs settings, add-ons, browser extensions which prevent
> opening new window during load time and which prevent resizing of
> existing windows and this is exactly what your code attempts to do.
> There is a very wide consensus among current browser manufacturers
> on giving absolute veto power to users over opening unsollicited
> windows and on scripts resizing windows.[/color]
Understood. My users definitely want the windows to open and will be
willing to authorize my site to open them.
[color=blue][color=green]
> > I tested this code on IE6 under Windows XP and encountered the
> > problem. Any idea what the problem could be?[/color]
>
> Don't open secondary window during load process of a window.[/color]
Technically, as part of the ONLOAD event, isn't it being opened AFTER the
first window has already been loaded? Are you suggesting that putting the
window.open into the ONLOAD event is causing this problem?
[color=blue][color=green]
> > Do you have the same problem when you click
> > on my web address?[/color]
>
> Yes.[/color]
Any idea why?
[color=blue]
> As your web address is still in the process of being loaded, your
> code tries to open another window which I was not made aware of in
> the first place. Why?[/color]
It's part of a much more involved application, whose core value is the
opening of several dedicated windows. The users definitely want and expect
them to open.
[color=blue]
> The window open'd window should be 600x400,
>
> and then it tries to resize that window and this
> without notifying me in advance and without my
> explicit consent to begin with.[/color]
That would not be true in the context of my application. Its users
definitely want and expect multiple windows to open. Unfortunately, that's
not what is happening.
[color=blue][color=green]
> > not stuck at 120x120.
> >
http://tosasoft.com/test/open.htm[/color]
>
> As you start/open your tv or when you switch to a channel, would you
> mind if the tv content provider would be able to open your other tv set
> in your home?
> When you start/open your tv or when you switch to a channel, would you
> mind if the tv content provider would then be able to set the volume of
> your other tv?[/color]
Without going too far off-topic, suffice to say that I agree with you in
general terms (and in almost all situations), but that is really not an
issue here. On the contrary. Part of my application's core value to its
users is to do exactly that. Without knowing more details, I don't expect
you to understand, but if I can get it up and running, I plan to give
everyone (not just my family and friends) free access and you could see for
yourself. In the meantime, any help would be appreciated. Thanks!
Dave