Work out the width of the office toolbar and the width of the start bar then
position the page in the middle of the screen with the height of the toolbar
around the edge that way no matter what axis they decide to position either
bar on it wont matter.

Yes you'll have a problem if they put one bar on top of the other or if
their bar goes double height and you'll have two thin blank spaces but its
worked for me in the past.

Alex

-----Original Message-----
From: Spike [mailto:spike@;spike.org.uk]
Sent: 30 October 2002 14:59
To: [EMAIL PROTECTED]
Subject: RE: [ cf-dev ] OT: Window sizes


I don't think you're really solving the problem there.

If you put the office toolbar or the taskbar on the left or top of the
screen, there doesn't seem to be a way to find that out through
JavaScript.

If the users need to use Office on a regular basis, as many people do,
then there is no reason why they should not be allowed to use the office
toolbar. There is also no reason why users who use both Macs and Windows
should not want to put the taskbar at the top of their screen.

Both of these situations will cause problems if you try to use moveTo(),
or moveBy() to maximize the window.

Unfortunately, there doesn't seem to be any other obvious way of doing
it.

Spike

Stephen Milligan
Team Macromedia - ColdFusion
Co-author 'Reality Macromedia ColdFusion MX: Intranets and Content
Management'
http://spikefu.blogspot.com

> -----Original Message-----
> From: Robertson-Ravo, Neil (REC)
> [mailto:Neil.Robertson-Ravo@;csd.reedexpo.com]
> Sent: 30 October 2002 15:41
> To: '[EMAIL PROTECTED]'
> Subject: RE: [ cf-dev ] OT: Window sizes
>
>
> no, thats OK... but office toolbars are simply stoopido....
> why dont you just prevent them from adding it?
>
>
>
> -----Original Message-----
> From: Spike [mailto:spike@;spike.org.uk]
> Sent: 30 October 2002 14:23
> To: [EMAIL PROTECTED]
> Subject: RE: [ cf-dev ] OT: Window sizes
>
>
> Yeah,
>
> I suppose we should stop people from moving their taskbar around too.
>
> ;-)
>
> Spike
>
> Stephen Milligan
> Team Macromedia - ColdFusion
> Co-author 'Reality Macromedia ColdFusion MX: Intranets and
> Content Management' http://spikefu.blogspot.com
>
> > -----Original Message-----
> > From: Robertson-Ravo, Neil (REC)
> > [mailto:Neil.Robertson-Ravo@;csd.reedexpo.com]
> > Sent: 30 October 2002 15:20
> > To: '[EMAIL PROTECTED]'
> > Subject: RE: [ cf-dev ] OT: Window sizes
> >
> >
> > solution : get rid of the office toolbar, its an eyesore anyway...
> >
> >
> >
> > -----Original Message-----
> > From: Spike [mailto:spike@;spike.org.uk]
> > Sent: 30 October 2002 14:17
> > To: [EMAIL PROTECTED]
> > Subject: RE: [ cf-dev ] OT: Window sizes
> >
> >
> > I think what you're missing is that if the office toolbar is
> > on the left, the window will disappear behind it with that code.
> >
> > That's what I missed initially too.
> >
> > Spike
> >
> > Stephen Milligan
> > Team Macromedia - ColdFusion
> > Co-author 'Reality Macromedia ColdFusion MX: Intranets and
> > Content Management' http://spikefu.blogspot.com
> >
> > > -----Original Message-----
> > > From: Robertson-Ravo, Neil (REC)
> > > [mailto:Neil.Robertson-Ravo@;csd.reedexpo.com]
> > > Sent: 30 October 2002 15:13
> > > To: '[EMAIL PROTECTED]'
> > > Subject: RE: [ cf-dev ] OT: Window sizes
> > >
> > >
> > > yep :-)
> > >
> > > if (window.screen) {
> > >     window.moveTo(0,0);
> > >     window.outerHeight = screen.availHeight;
> > >     window.outerWidth = screen.availWidth;
> > > }
> > >
> > > -----Original Message-----
> > > From: Snake [mailto:snake@;snakepit.net]
> > > Sent: 30 October 2002 14:07
> > > To: [EMAIL PROTECTED]
> > > Subject: RE: [ cf-dev ] OT: Window sizes
> > >
> > >
> > > That's why it is availheight (the available height) and
> availwidth
> > > (available width).
> > >
> > >
> > > -----Original Message-----
> > > From: Osullivan Karl (RKB) Senior Analyst/Programmer
> > > [mailto:karl.osullivan@;uhcw.nhs.uk]
> > > Sent: 30 October 2002 13:53
> > > To: '[EMAIL PROTECTED]'
> > > Subject: RE: [ cf-dev ] OT: Window sizes
> > >
> > >
> > > yes, but when I open the window I don't want it to place
> it over the
> > > top of the Office bar, which may be on the left-hand side of the
> > > screen, or the right-hand side.  Is there not a way to
> emulate the
> > > standard windows "maximise" function that makes the
> window use all
> > > the available space?
> > >
> > > Thanks
> > >
> > > Karl O'Sullivan
> > > Senior Analyst Programmer
> > > University Hospitals Coventry and Warwickshire NHS Trust
> > > Tel: 024 7660 2020 x7578
> > > [EMAIL PROTECTED]
> > >
> > > > ----------
> > > > From:   Spike[SMTP:[EMAIL PROTECTED]]
> > > > Sent:   30 October 2002 13:39
> > > > To:     [EMAIL PROTECTED]
> > > > Subject:        RE: [ cf-dev ] OT: Window sizes
> > > >
> > > > In Internet Explorer you can use window.screen.availHeight and
> > > > window.screen.availWidth to find out how big you can make
> > a window
> > > > without overwriting the office toolbar and taskbar.
> > > >
> > > > Spike
> > > >
> > > > Stephen Milligan
> > > > Team Macromedia - ColdFusion
> > > > Co-author 'Reality Macromedia ColdFusion MX: Intranets
> > and Content
> > > > Management' http://spikefu.blogspot.com
> > > >
> > > > > -----Original Message-----
> > > > > From: Osullivan Karl (RKB) Senior Analyst/Programmer
> > > > > [mailto:karl.osullivan@;uhcw.nhs.uk]
> > > > > Sent: 30 October 2002 14:35
> > > > > To: 'CF - Development Group'
> > > > > Subject: [ cf-dev ] OT: Window sizes
> > > > >
> > > > >
> > > > > Hello,
> > > > >
> > > > > I want to open windows (using window.open in
> javascript) to the
> > > > > maximum size of the available space on the screen, but
> > am having
> > > > > problems due to the Office toolbar, which might be on the
> > > left-hand
> > > > > -side or the right-hand-side.  Any way of knowing if it's
> > > there and
> > > > > how to avoid putting my window over the top of it?
> > > > >
> > > > > Thanks
> > > > >
> > > > > Karl
> > > > >
> > > > > Karl O'Sullivan
> > > > > Senior Analyst Programmer
> > > > > University Hospitals Coventry and Warwickshire NHS Trust
> > > > > Tel: 024 7660 2020 x7578
> > > > > [EMAIL PROTECTED]
> > > > >
> > > > > --
> > > > > ** Archive:
> > > http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
> > > > >
> > > > > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > > > > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> > > > > For human help, e-mail: [EMAIL PROTECTED]
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > ** Archive:
> > > http://www.mail-archive.com/dev%> 40lists.cfdeveloper.co.uk/
> > > >
> > >
> > > > To unsubscribe, e-mail:
> > > [EMAIL PROTECTED]
> > > > For additional commands, e-mail:
> > > [EMAIL PROTECTED] For
> > > > human help, e-mail: [EMAIL PROTECTED]
> > > >
> > >
> > > --
> > > ** Archive:
> > http://www.mail-archive.com/dev%> 40lists.cfdeveloper.co.uk/
> > >
> >
> > > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > > For additional commands, e-mail:
> > [EMAIL PROTECTED] For
> > > human help, e-mail: [EMAIL PROTECTED]
> > >
> > >
> > > --
> > > ** Archive:
> > http://www.mail-archive.com/dev%> 40lists.cfdeveloper.co.uk/
> > >
> >
> > > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > > For additional commands, e-mail:
> > [EMAIL PROTECTED] For
> > > human help, e-mail: [EMAIL PROTECTED]
> > >
> > > --
> > > ** Archive:
> > http://www.mail-archive.com/dev%> 40lists.cfdeveloper.co.uk/
> > >
> >
> > > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > > For additional commands, e-mail:
> > [EMAIL PROTECTED] For
> > > human help, e-mail: [EMAIL PROTECTED]
> > >
> > >
> > >
> >
> >
> >
> > --
> > ** Archive:
> http://www.mail-archive.com/dev%> 40lists.cfdeveloper.co.uk/
> >
>
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> > [EMAIL PROTECTED] For human help, e-mail:
> > [EMAIL PROTECTED]
> >
> > --
> > ** Archive:
> http://www.mail-archive.com/dev%> 40lists.cfdeveloper.co.uk/
> >
>
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> > [EMAIL PROTECTED] For human help, e-mail:
> > [EMAIL PROTECTED]
> >
> >
> >
>
>
>
> --
> ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
>
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED] For human help, e-mail:
> [EMAIL PROTECTED]
>
> --
> ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
>
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED] For human help, e-mail:
> [EMAIL PROTECTED]
>
>



--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]




-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to