愚弄重画 [英] fooling for a repaint

查看:56
本文介绍了愚弄重画的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在页面中动态更改帧的大小(我被限制在那里

我无法重新加载任何帧的内容)。在MSIE,

当我调整框架大小时,认为完美重绘。在NS 7中,从之前占用给定帧的内容中留下了
的文物。


如果我最小化NS浏览器,那么再次对其进行mazimize,NS浏览器

重新绘制帧的内容,一切看起来都正确。


有没有办法 - 任何可以想象的方式 - 任何人都知道或者可以想到去欺骗

浏览器在调整帧大小时重新绘制自己?谢谢,Ike

I changing the size of frames dynamically in a page (I am restricted in that
I cannot perform a reload of the content of any of the frames). In MSIE,
when I resize the frames, thinks repaint perfectly. In NS 7 there are
artifacts left over from what previously occupied a given frame.

If I minimize the NS browser, then mazimize it again, the NS browser
repaints the contents of the frames, and everything looks correct.

Is there a way - any conceivable way - anyone knows or can think of to trick
the browser into repainting itself when a frame is resized? Thanks, Ike

推荐答案

2004年2月13日星期五13:11:05 GMT,Ike< rx*@hotmail.com>写道:
On Fri, 13 Feb 2004 13:11:05 GMT, Ike <rx*@hotmail.com> wrote:
我在一个页面中动态地改变帧的大小(我受限于
我无法重新加载任何帧的内容)。在MSIE中,当我调整框架大小时,认为完美重绘。在NS 7中,
是先前占用给定帧的遗留物。

如果我最小化NS浏览器,然后再次将其重新设置,NS浏览器重新绘制内容框架,一切看起来都是正确的。

有没有办法 - 任何可以想象的方式 - 任何人都知道或可以想到在框架调整大小时欺骗浏览器重新绘制自己?
I changing the size of frames dynamically in a page (I am restricted in
that I cannot perform a reload of the content of any of the frames). In
MSIE, when I resize the frames, thinks repaint perfectly. In NS 7 there
are artifacts left over from what previously occupied a given frame.

If I minimize the NS browser, then mazimize it again, the NS browser
repaints the contents of the frames, and everything looks correct.

Is there a way - any conceivable way - anyone knows or can think of to
trick the browser into repainting itself when a frame is resized?




不用手,但要报告给Netscape。至少那时,浏览器的未来版本

可能没有问题。


如果你无法向他们解释是什么原因造成的,主持一个例子

版本的页面,给他们提供URL并说明如何与

进行交互,这会导致文物。


Mike


-

Michael Winter
M。****** @ blueyonder.co.inva 盖子(将.invalid替换为.uk以回复)



Not off hand, but do report it to Netscape. At least then, future versions
of the browser might be free from the problem.

If you can''t explain to them what causes it properly, host an example
version of the page, give them the URL and illustrate how interacting with
it causes artifacts.

Mike

--
Michael Winter
M.******@blueyonder.co.invalid (replace ".invalid" with ".uk" to reply)


比如名叫迈克尔·温特的乌鸦:
Quoth the raven named Michael Winter:
2004年2月13日星期五,格林尼治标准时间13:11:05,艾克< rx*@hotmail.com>写道:
On Fri, 13 Feb 2004 13:11:05 GMT, Ike <rx*@hotmail.com> wrote:
我在页面中动态更改帧的大小(我受限制,因为我无法重新加载任何内容的
帧)。在MSIE中,当我调整帧的大小时,认为
重绘完美。在NS 7中,还有以前占用给定帧的遗留物。

如果我最小化NS浏览器,然后再次将其重新设置,NS
浏览器重新绘制内容框架,一切看起来都是正确的。

有没有办法 - 任何可以想象的方式 - 任何人都知道或者可以想到在框架时欺骗浏览器重绘自己
调整大小?
I changing the size of frames dynamically in a page (I am
restricted in that I cannot perform a reload of the content of
any of the frames). In MSIE, when I resize the frames, thinks
repaint perfectly. In NS 7 there are artifacts left over from
what previously occupied a given frame.

If I minimize the NS browser, then mazimize it again, the NS
browser repaints the contents of the frames, and everything looks
correct.

Is there a way - any conceivable way - anyone knows or can think
of to trick the browser into repainting itself when a frame is
resized?



不是手头,但要报告给Netscape。至少那时,浏览器的未来版本可能没有问题。



Not off hand, but do report it to Netscape. At least then, future
versions of the browser might be free from the problem.




Mozilla 1.6是否会出现同样的问题?或Firefox 0.8?


如果没有,那么无论错误是什么,都已经修复。 Netscape

停止开发7.1,这是Mozilla 1.4引擎。或者我告诉我b $ b; Netscape公司已经死了。


-

-bts

-这个空间故意留空。



Does this same problem occur with Mozilla 1.6? Or Firefox 0.8?

If not, then whatever the bug was, has already been fixed. Netscape
stopped development with 7.1, which is the Mozilla 1.4 engine. Or so I
am told; Netscape the company is dead.

--
-bts
-This space intentionally left blank.


将以下代码添加到< head>你的文件部分:


< script language =" JavaScript" type =" text / JavaScript">

<! -

函数MM_reloadPage(init){//如果Nav4调整大小则重新加载窗口

if(init == true)with(navigator){if

((appName ==" Netscape")&&(parseInt(appVersion)== 4)){

document.MM_pgW = innerWidth; document.MM_pgH = innerHeight;

onresize = MM_reloadPage; } $

else if(innerWidth!= document.MM_pgW || innerHeight!= document.MM_pgH)

location.reload();

}

MM_reloadPage(true);

// - >

< / script>


Jerry P.

" Ike" < rx*@hotmail.com>在消息中写道

新闻:J1 ***************** @ newsread1.news.atl.earthl ink.net ...
Add the following code into the <head> section of your documents:

<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if
((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight;
onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH)
location.reload();
}
MM_reloadPage(true);
//-->
</script>

Jerry P.
"Ike" <rx*@hotmail.com> wrote in message
news:J1*****************@newsread1.news.atl.earthl ink.net...
我在页面中动态更改帧的大小(我在
中限制我不能重新加载任何帧的内容)。在MSIE,
当我调整框架大小时,认为完美重绘。在NS 7中,从先前占用给定帧的内容中留下了遗留物。

如果我最小化NS浏览器,然后再次将其重新设置,NS浏览器重新绘制内容框架,一切看起来都是正确的。

有没有办法 - 任何可以想象的方式 - 任何人都知道或可以想到
欺骗浏览器在重新调整框架时重新绘制自己?谢谢,Ike
I changing the size of frames dynamically in a page (I am restricted in that I cannot perform a reload of the content of any of the frames). In MSIE,
when I resize the frames, thinks repaint perfectly. In NS 7 there are
artifacts left over from what previously occupied a given frame.

If I minimize the NS browser, then mazimize it again, the NS browser
repaints the contents of the frames, and everything looks correct.

Is there a way - any conceivable way - anyone knows or can think of to trick the browser into repainting itself when a frame is resized? Thanks, Ike



这篇关于愚弄重画的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆