Click here to get back home

window size ???

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
window size ??? Thorn 11-10-2004
Get Chitika Premium
Posted by Thorn on November 10, 2004, 7:23 am
Please log in for more thread options
hi !

question is very simple: how can i have a window with 30% (width) and
100% (hieght) of my screen. its very important to have such dimension
becouse i want to have always the same propotion on the sreen even
when i change the screen resolution (640x480 >>> 800x600 >>>1024x756).

thanks for any ideas :)
hawk.


Posted by Mark Tranchant on November 10, 2004, 3:30 pm
Please log in for more thread options
Thorn wrote:

> question is very simple: how can i have a window with 30% (width) and
> 100% (hieght) of my screen. its very important to have such dimension
> becouse i want to have always the same propotion on the sreen even
> when i change the screen resolution (640x480 >>> 800x600 >>>1024x756).

Nothing to do with HTML, I'm afraid, and thus off-topic for this group.
Some browsers may allow you to use Javascript to resize the window
appropriately: you could use a variant of the technique described here:

http://www.themaninblue.com/writing/perspective/2004/09/21/

Try comp.lang.javascript for futher advice.

--
Mark.
http://tranchant.plus.com/


Posted by Lachlan Hunt on November 11, 2004, 6:12 am
Please log in for more thread options
Mark Tranchant wrote:
>> question is very simple: how can i have a window with 30% (width) and
>> 100% (hieght) of my screen. its very important to have such dimension
>> becouse i want to have always the same propotion on the sreen even
>> when i change the screen resolution (640x480 >>> 800x600 >>>1024x756).

If you use Mozilla or Firefox, then the Web Developer toolbar has a nice
resize window feature that lets you enter the exact size you want. It's
more accurate than just resizing the window manually, and doesn't
require you drawing on your screen with a pencil as Chris Morris suggested.

> Nothing to do with HTML, I'm afraid, and thus off-topic for this group.
> Some browsers may allow you to use Javascript to resize the window
> appropriately: you could use a variant of the technique described here:
>
> http://www.themaninblue.com/writing/perspective/2004/09/21/

Don't use JavaScript to resize a user's window, it's rude. I have my
browser configured so that is not allowed, but not all users know how to
do that, so you will just end up annoying those users.

--
Lachlan Hunt
http://lachy.id.au/
http://GetFirefox.com/ Rediscover the Web
http://SpreadFirefox.com/ Igniting the Web


Posted by Chris Morris on November 10, 2004, 3:33 pm
Please log in for more thread options
prezes_tom@poczta.fm (Thorn) writes:
> question is very simple: how can i have a window with 30% (width) and
> 100% (hieght) of my screen. its very important to have such dimension
> becouse i want to have always the same propotion on the sreen even
> when i change the screen resolution (640x480 >>> 800x600 >>>1024x756).

I don't know of any browser that does this automatically, but if you
use a pencil to mark your monitor you should be able to line the edges
of the browser window up nicely using whatever your window system's
resize function is.

It might be possible (depending on the browser and the window system)
to write a little routine that did the resize automatically, but
unless you change resolution a lot it's probably more efficient just
to resize it manually with the mouse/keyboard.

Probably a group for windowing systems will give you better ideas than
a group for HTML authoring on the web, though.

--
Chris


Posted by Stan Brown on November 10, 2004, 5:00 pm
Please log in for more thread options
comp.infosystems.www.authoring.html:
>question is very simple: how can i have a window with 30% (width) and
>100% (hieght) of my screen. its very important to have such dimension

No, it's not. If you want to control aspect ratio then publish on
paper. The Web is a fluid medium. Leaving aside the fact that not
everyone who uses the Web can see, you cannot control the window
dimensions.

--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2.1 spec: http://www.w3.org/TR/CSS21/
validator: http://jigsaw.w3.org/css-validator/


Similar ThreadsPosted
Window size ramifications November 11, 2007, 8:39 pm
How do I keep apparent table width independent of window size? March 31, 2008, 9:43 am
How do I pass a list of arguments from a popup window to the parent window? July 6, 2006, 4:49 am
Firefox - Prevent TextField size change when user changes font size? October 3, 2006, 6:21 pm
Results from child window submit into parent window, then child closes -- How To? February 4, 2005, 2:32 am
New Window November 11, 2004, 12:11 pm
Redirect to New Window September 13, 2004, 7:56 am
Resizing window June 27, 2005, 9:26 pm
 tag font and size
December 30, 2004, 12:05 pm
Best way to specify font size December 11, 2005, 6:45 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap