Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] Windows Toolbar in left side of the screen
- From: javascript@xxxxxxxxxx (Dan Costea)
- Subject: [Javascript] Windows Toolbar in left side of the screen
- Date: Sun, 24 Feb 2002 13:20:29 +0100
This is a multi-part message in MIME format.
------=_NextPart_000_001D_01C1BD36.07AC71B0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi,=20
When I open a window I resize it at screen available width and screen =
available height, and I want to move it on the top left corner:
window.moveTo (0,0);
window.resizeTo (screen.availWidth, screen.availHeight);
The problem is when the user have the Windows toolbar on the left side =
of the screen or on the top of the screen, because window.moveTo (0,0) =
method move the window related to the screen and doesn't care about win. =
toolbar.=20
How can I move the window on the top left corner counting the Windows =
toolbar too?
Thanks, Dan
------=_NextPart_000_001D_01C1BD36.07AC71B0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2713.1100" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2> Hi, </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>When I open a window I resize it at =
screen=20
available width and screen available height, and I want to move it on =
the top=20
left corner:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>window.moveTo (0,0);<BR>window.resizeTo =
(screen.availWidth, screen.availHeight);<BR></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>The problem is when the user have the =
Windows=20
toolbar on the left side of the screen or on the top of the screen, =
because=20
window.moveTo (0,0) method move the window related to the screen and =
doesn't=20
care about win. toolbar. </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>How can I move the window on the top =
left corner=20
counting the Windows toolbar too?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Thanks, Dan</DIV></FONT></BODY></HTML>
------=_NextPart_000_001D_01C1BD36.07AC71B0--
- Prev by Date: [Javascript] RE: Hiding URL.....
- Next by Date: [Javascript] what's wrong with this code?
- Previous by thread: [Javascript] RE: Hiding URL.....
- Next by thread: [Javascript] what's wrong with this code?
- Index(es):