Browser
 
By Firoz AnsariMarch 25, 20171 min readComments (0)

If you hate that slight flicker in IE browser between page transitions then you will find this snippet useful. When the user navigates from one page to another, there is a slight white out before next page renders on IE. On other browsers like FireFox or Chrome has a relatively smoother handle for such transition. If your web application has the significant number of post backs then this becomes more annoying to users.

To reduce this flicker in IE, simply add below META tags in the HEAD section of your page.

<META http-equiv="Page-Enter" content="blendTrans(Duration=0.05)" />
<META http-equiv="Page-Exit" content="blendTrans(Duration=0.05)" />

By reducing the duration of fading content from the previous page and revealing new content from next page, user experience relatively smooth transition between pages. The good thing about above implementation is that above META tags will not have any impact on other browsers.


JOIN THE DISCUSSION
COMMENTS (0)
Copyright © 2021 Firoz Ansari.
All Rights Reserved.