ceramedia/CeraBox — Issue #10: domready in iframe
Author: dArignac
Created: 2012-02-20 15:03:30+00:00
State: open

if I use the cerabox to display an iframe, the domready event within the iframe is fired before the iframe elements are correctly positioned. That probably occured because the iframe is generated with the source and afterwards injected into the container, so that all elements get repositioned (and correctly positioned the first time). I had to add a delay of 1 second to all js code execution in the iframe source that measures elements or determines container positions. Would be nice if you can see forward to fix this somehow, thank you!