在加载时调整浏览器窗口大小 [英] resize browser window on load
问题描述
如何在页面加载时将浏览器窗口的大小调整为特定大小,
使用html或javascript
how would i resize a browser window to a specific size as the page loads,
using html or javascript
推荐答案
2004年9月6日星期一17:35:17 +0800,chris写道:
On Mon, 6 Sep 2004 17:35:17 +0800, chris wrote:
当页面加载时,如何将浏览器窗口调整为特定大小,
使用html或javascript
how would i resize a browser window to a specific size as the page loads,
using html or javascript
为什么?页面内容是什么?
大部分时间最好设计适合任何屏幕的
页面并让用户
自己保留对大小的控制。
请注意,交叉发布到三组
通常不赞成,但我注意到了/>
你不确定哪个组是最好的和
没有犯下多个帖子的''罪'..
我将Follow-Ups设置为最佳组,
如果您决定做这样的事情,
comp.lang.javascript。
(虽然HTML人们可能更了解
如何使页面挤压,但JS大师的
当然是熟悉的用它。)
-
Andrew Thompson
http://www.PhySci.org/ 开源软件套件
http: //www.PhySci.org/codes/ Web& IT帮助
http://www.1point1C.org/ Science&技术
Why? What is in the pages?
Most of the time it is better to design a
page that fits any screen and let the user
retain control of the size themselves.
Please note that cross-posting to three groups
is generally frowned upon, though I note that
you were unsure which group was best and
did not commit the ''sin'' of multi-posting..
I will set the Follow-Ups to the best group,
should you decide to do such a thing,
comp.lang.javascript.
(While the HTML folks might be more aware of
how to make a page ''squeezy'', the JS guru''s
are certainly familiar with it.)
--
Andrew Thompson
http://www.PhySci.org/ Open-source software suite
http://www.PhySci.org/codes/ Web & IT Help
http://www.1point1C.org/ Science & Technology
" chris" <所以***** @ here.com>在消息中写道
news:41 ******** @ funnel.arach.net.au ...
"chris" <so*****@here.com> wrote in message
news:41********@funnel.arach.net.au...
我如何将浏览器窗口调整为a页面加载时的特定大小,
使用html或javascript
how would i resize a browser window to a specific size as the page loads,
using html or javascript
单独留下用户的窗口。
它可能是你的网站,但它是他们的电脑。
-Karl
Leave the user''s window alone.
It might be your website, but it is their computer.
-Karl
" chris" <所以***** @ here.com>在消息中写道
news:41 ******** @ funnel.arach.net.au ...
"chris" <so*****@here.com> wrote in message
news:41********@funnel.arach.net.au...
我如何将浏览器窗口调整为a页面加载时的特定大小,
使用html或javascript
how would i resize a browser window to a specific size as the page loads,
using html or javascript
< html>
< head>
< title> resizeto.htm< / title>
< / head>
< body onload =" moveTo(0,0) ; resizeTo(400,300);">
< / body>
< / html>
<html>
<head>
<title>resizeto.htm</title>
</head>
<body onload="moveTo(0,0); resizeTo(400,300);">
</body>
</html>
这篇关于在加载时调整浏览器窗口大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!