469,289 Members | 2,127 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,289 developers. It's quick & easy.

How to reload a Chat Room page quietly in IE like FireFox?

I created a chat room using a single html/asp/javascript combined page with 10-second refreshing interval. It works smoothly and refresh quietly in FireFox and other browsers but not IE (I tested IE8).

The problem is that when IE refreshes the page each time, all images and tables are all reloaded again, so you see the page flickering so much, disturbing the chatter very much.

Especially when I use javascript function fired when OnLoad, to move the window scroll bar to the bottom, in IE I see the window loaded at the position on the top and then move to the bottom each time. It is so disturbing.

function ScrollToBottom() {
window.scroll(0, document.body.clientHeight);

But all these works in FireFox and other browsers so quietly, almost all the images and tables stay no change and only the new message updated.

Can anyone help me? Any good idea or style/css setting or any other way to improve this?

Thanks so much in advance.

Oct 2 '11 #1
1 2030
I solved my problem and like to post the solution here in case someone else also has the same problem.

I read another conversation on this bytes page, followed odefta's suggest, and put the following two lines under <head>, the problem is completely gone. Now it refresh very smooth and quiet.

<meta http-equiv="Page-Enter" content="revealtrans(duration=1.0)">
<meta http-equiv="Page-Exit" content="revealtrans(duration=1.0)">

Thanks odefta and bytes.com so much!
Oct 2 '11 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by mercuryguy | last post: by
4 posts views Thread by JIM.H. | last post: by
2 posts views Thread by petercoleman2004 | last post: by
1 post views Thread by =?Utf-8?B?dHZpbg==?= | last post: by
1 post views Thread by aliusmankhan | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.