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

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -