javascriptを介して別のiframeにiframeを重ねようとしています。
背景の iframe の幅と高さを 100% に維持したいのですが、2 番目の iframe は最初の iframe の中央に少し小さく表示したいと考えています。
現在、以下のように 2 つの iframe を設定しようとしていますが、うまくいかないようです。
<div id="iframe1" style="width=80%; height=50%;">
<iframe id="gameIFrame" style="width=80%; height=50%;position:absolute; z-index:1000;" seamless="seamless" src="http://www.guguncube.com" />
</div>
<div id="iframe2" style="width=30%; height=30%;" >
<iframe id="gameIFrame2" style="width=30%; height=30%; position:absolute; " seamless="seamless" src="http://www.guguncube.com"/>
</div>
何か案は?