Expand|Select|Wrap|Line Numbers
- <div class="positioner" style="width:402px;height:302px;border:none;margin:50px auto">
- <iframe src="thelinker.html" style="position:absolute;width:400px;height:300px;border:1px solid #222;overflow:hidden"></iframe>
- <div style="position:absolute;width:400px;height:300px;border:1px solid #fff;background:#fff;opacity:0.001"></div>
- </div>
- <div class="positioner" style="width:402px;height:302px">
- <iframe src="thelinker.html" style="position:absolute;width:400px;height:300px;border:1px solid #222;overflow:hidden"></iframe>
- <div style="position:absolute;width:400px;height:300px;border:1px solid #fff;background:#fff;opacity:0.001"></div>
- </div>
The "positioner" is needed to know the origin of iframe.
Opacity property is needed for IE. Else nothing will work.
I tested it on all major browser but I can't know about IE < 8.