How can we detect the content (page) of iFrame, and set the height of the iFrame???
Take a look on this. It is pretty simple.
Anyway, few things to take note:
1. Parent page & child page must in from the same domain.
2. Must add the [class="autoHeight"] for the iFrame. *autoHeight.js will be checking on the existence of this class before resizing the height.
Already zip it here...
No comments:
Post a Comment