jquery - Reload an iframe without flickering/flash (in Javascript) -


i ask if has simple solution allow me reload/refresh iframe without flickering/flash when page reloads, possible ? maybe animate blur-out , blur-in instead of flickering/flash? don't know input helpful,

thanks.

here how reload iframe now

document.getelementbyid("frameid").contentdocument.location.reload(true); 

thanks help.

easiest approach:

  1. create new iframe outside of dom or in hidden element.
  2. load page inside hidden frame
  3. once load fires within hidden frame, swap them around!

swapping

to swap them, have them next each other , toggle display: none / block css of each one.


Comments

Popular posts from this blog

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -