How to fix flickering in IFrames?

I am using iframes in html. to load multiple html files into one html file.

The problem is that when I move from one page to the next, I get flickering.

how to fix flickering in iframe. Also I use Dhtml filters and transitions.

-2


a source to share


2 answers


The web, thankfully, isn't Powerpoint. You can pretend it is though , but luckily only for Internet Explorer users.



After some time since I originally wrote this answer, the more disturbing grooves in my brain suggest that you can duplicate the iframe, place it below (in z-space) first, and (when the frame's onload event fires) animate the opacity of the original iframe from 1 to 0 before completely removing the element.

+3


a source


$ ('# yourcontent'). load (url, 'param = value' post || get {param: value}); jquery ('# yourcontent'). load (url, 'param = value' post || get {param: value});



With this method, you don't need iframes, although javascript is required. I assume that you are not against javascript anymore.

0


a source







All Articles