Sunday, December 19, 2010

Fajax - the fake alternative to ajax

Hi Readers
There is one problem we are facing now-a-days in our website when it renders all images are coming one by one horizontally. All the pages of websites are flickering.
The solution of the problem is add these metatags inside the master page.
<META http-equiv="Page-Enter" content="blendTrans(Duration=0.2)">
<META http-equiv="Page-Exit" content="blendTrans(Duration=0.2)">
This known as “Fajax”: The fake alternative to ajax.
When a page posts back (for example when you click a button on a form), it normally causes a screen flicker as the page is redrawn.
A lot of the time, this gives an identical effect to an ajax style http request. The page appears to have stood absolutely still as just one part of it is updated.
This simple trick gives you about 50% of the benefit of ajax, with a 1% of the effort.
Disha Shah

No comments:

Post a Comment