I control an iframe that displays in a different domain. Is there a clear way to tell if this iframe is displayed above or below the fold on the parent page? Obviously, I cannot access the parent DOM due to the restriction of the same source .
For example, I tried to measure the rendering speed in a canvas or VML tag, hoping it would be faster if the tag is not on the screen. This did not work - there were no differences in speed. Also for DOM manipulation - there seems to be no way to distinguish between reflow / repaint operations below or above the fold.
How about a flash? I donβt have much experience, but is it possible to check how fast the browser performs flash operations? Or does the flash have any βvisibleβ events outside the DOM standard?
javascript html flash iframe rendering
Andrey Fedorov
source share