Re: [WebDNA] How to get a screen size
This WebDNA talk-list message is from 2009
It keeps the original formatting.
numero = 103752
interpreted = N
texte = --Apple-Mail-2--408245080Content-Type: text/plain;charset=ISO-8859-1;format=flowed;delsp=yesContent-Transfer-Encoding: quoted-printableThanks! I just figured it out a couple of days ago. It reads the =20clients avail screen area.So it assumes the client has there browser maximized. I recommend =20resizing the originalimage to 1680X1120 or at least 1280X1024. Otherwise it might stretch =20and look bad forpeople with high resolutions...ex url) http://www.traversebayfront.com/Do you have a URL where you used it? I'd like to see...If you need further help let me know...Scott WaltersScott@ideassoftware.comOn Oct 7, 2009, at 6:47 AM, Lawrence Banahan wrote:> This looks great, is it resizing the image to the right size on the =20=> client side?>>> Le 6 oct. 09 =E0 15:36, scott@ideassoftware.com a =E9crit :>>> This might help. It resizes the background image to the size of the =20=>> clients screen...>>>> scott@ideassoftware.com>>>> >>
> 0; zindex:10; overflow:hidden">>> >>
>>
> 0; zindex:20;">>> The rest of the website goes here...>>
>> >>>--Apple-Mail-2--408245080Content-Type: text/html;charset=ISO-8859-1Content-Transfer-Encoding: quoted-printable
Thanks! I just figured it =out a couple of days ago. It reads the clients avail screen =area.
So it assumes the client has there browser =maximized. I recommend resizing the original
image =to 1680X1120 or at least 1280X1024. Otherwise it might stretch =and look bad for
people with high =resolutions...
Do you have a URL where you used it? I'd =like to see...
If you need further help let me =know...
Scott Walters
<=div>
On Oct 7, 2009, at 6:47 AM, =Lawrence Banahan wrote:
This looks great, is it =resizing the image to the right size on the client side?
This might help. It resizes the background image to =the size of the clients screen...
scott@ideassoftware.com
=
<body bgcolor=3D"#000000">
<div =style=3D"height:100%; width:100%; position:absolute; top:0; left:0; =zindex:10; overflow:hidden">
<script =type=3D"text/javascript">
document.write("<img =src=3Dbackground.jpg width=3D");
=document.write(screen.availWidth);
=document.write(">");</script>
</div>
=<div style=3D"height:100%; width:100%; position:absolute; top:0; =left:0; zindex:20;">
The rest of the website goes here...
= </div>
</body>
=
=--Apple-Mail-2--408245080--
Associated Messages, from the most recent to the oldest:
--Apple-Mail-2--408245080Content-Type: text/plain;charset=ISO-8859-1;format=flowed;delsp=yesContent-Transfer-Encoding: quoted-printableThanks! I just figured it out a couple of days ago. It reads the =20clients avail screen area.So it assumes the client has there browser maximized. I recommend =20resizing the originalimage to 1680X1120 or at least 1280X1024. Otherwise it might stretch =20and look bad forpeople with high resolutions...ex url) http://www.traversebayfront.com/Do you have a URL where you used it? I'd like to see...If you need further help let me know...Scott WaltersScott@ideassoftware.comOn Oct 7, 2009, at 6:47 AM, Lawrence Banahan wrote:> This looks great, is it resizing the image to the right size on the =20=> client side?>>> Le 6 oct. 09 =E0 15:36, scott@ideassoftware.com a =E9crit :>>> This might help. It resizes the background image to the size of the =20=>> clients screen...>>>> scott@ideassoftware.com>>>> >> > 0; zindex:10; overflow:hidden">>> >>
>> > 0; zindex:20;">>> The rest of the website goes here...>>
>> >>>--Apple-Mail-2--408245080Content-Type: text/html;charset=ISO-8859-1Content-Transfer-Encoding: quoted-printableThanks! I just figured it =out a couple of days ago. It reads the clients avail screen =area.
So it assumes the client has there browser =maximized. I recommend resizing the original
image =to 1680X1120 or at least 1280X1024. Otherwise it might stretch =and look bad for
people with high =resolutions...
Do you have a URL where you used it? I'd =like to see...
If you need further help let me =know...
Scott Walters
<=div>
On Oct 7, 2009, at 6:47 AM, =Lawrence Banahan wrote:
This looks great, is it =resizing the image to the right size on the client side?
This might help. It resizes the background image to =the size of the clients screen...
scott@ideassoftware.com
=
<body bgcolor=3D"#000000">
<div =style=3D"height:100%; width:100%; position:absolute; top:0; left:0; =zindex:10; overflow:hidden">
<script =type=3D"text/javascript">
document.write("<img =src=3Dbackground.jpg width=3D");
=document.write(screen.availWidth);
=document.write(">");</script>
</div>
=<div style=3D"height:100%; width:100%; position:absolute; top:0; =left:0; zindex:20;">
The rest of the website goes here...
= </div>
</body>
=
=--Apple-Mail-2--408245080--
Scott Walters
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
[WebDNA] fastcgi 7+ & [cart]? (2010)
problems with WebCat-Plugin (1997)
WebCommerce: Folder organization ? (1997)
Price override (2004)
same product in cart (1997)
Sorting error (1997)
Error.html (1997)
[WebDNA] search command problem (2009)
https validation (2001)
Now you see it now you donīt (1997)
Web Catalog 2 demo (1997)
spreadsheet interface (1998)
Formatting a .txt file (1998)
RE: Database Structure? (1998)
Outsourcing partnership ... (2005)
Which GUI HTML editors work with WC ? (1997)
Shopping Cart Problem (1998)
Not really WebCat (1997)
Mac v. NT (1998)
Cookie setting (2003)