Re: Resizing background using CSS and Javascript according to screen resolution
- From: Randy Webb <HikksNotAtHome@xxxxxxx>
- Date: Wed, 21 Jun 2006 16:32:57 -0400
Seige said the following on 6/20/2006 11:10 AM:
So Mr Grumpy-o-Randy, what do you propose?
I could answer that but my terminology the last time I did was debated over my choice of words. Search for my name, the work wikipedia in the archives, you can find my choice of words for you there.
screen.clientWidth?screen.clientwidth:screen.width;
clientwidth is more meaningful to you than screen.width, for the reason I gave.
Knowing the width of my browser window means something, knowing the width of my desktop is useless in a browser.
height isn't particularly of my concern because width is more dependent
in a design unless its a horizontal website.
All websites are horizontal as well as vertical.
--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
.
- Follow-Ups:
- Re: Resizing background using CSS and Javascript according to screen resolution
- From: Bart Van der Donck
- Re: Resizing background using CSS and Javascript according to screen resolution
- References:
- Prev by Date: Re: Found a work around, but would still like to know the answer...
- Next by Date: Re: javascript solution for building a string from items clicked in a list
- Previous by thread: Re: Resizing background using CSS and Javascript according to screen resolution
- Next by thread: Re: Resizing background using CSS and Javascript according to screen resolution
- Index(es):
Relevant Pages
|