0

Chrome browser accept the following command line:

function LoadPage() {
document.getElementById('frame-floating').src = window.parent.location;
}
window.onload=LoadPage


<iframe id="frame-floating" src="" width="100%" height="1000"></iframe>

But it is completely useless for Firefox and IE, You try it with many browsers here: http://hangaumy.com/test.html

Are they not accepting window.location ?

0 Answers0