Is there a way to detect the height and width of an iframe, by executing a script from inside the iframe? I need to dynamically position some elements in the iframe accordi
yes, you can execute parent's window function from inside the frame, and pass parameters, like this:
window.parent.FUNC_NAME(iframe_height,iframe_width)
just remember to define function FUNC_NAME in the parent window