Assuming I have no control over the content in the iframe, is there any way that I can detect a src change in it via the parent page? Some sort of onload maybe?
My l
The iframe always keeps the parent page, you should use this to detect in which page you are in the iframe:
Html code:
Js:
function resizeIframe(obj) { alert(obj.contentWindow.location.pathname); }