Flickering Page
when i am refresh开发者_开发技巧ing the page Flickering happens. I can see the resizing effect in page.How can i avoid this? I am using master page in my Project. In body tag i am using this(<body onload="return SetContentHeight();" onresize="return SetContentHeight();">) to call the function. My content page inside a table. So i am setting up height and width for this table. SetContentHeight(){//Assigning Height and width of content page}
If you initiate your code after page load, you prevent. In page loading triggers resize, since page is rendered times before pageloaded.
so I suggest
 $(window).resize(function() {
   SetContentHeight();
 });
 
         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论