Change the Page URL by clicking on links within an iframe

Asked

Viewed 54 times

1

I have a posting system on a website made on Muse. I would like when I click on read more, the site generates a url with iframe with the post.

<script type="text/javascript"> function resizeIframe(obj){ obj.style.height = 0; obj.style.height = obj.contentWindow.document.body.scrollHeight + 'px'; } </script> <iframe target="_parent" src="filhosdegaia.atwebpages.com/postagens.php"; onload='resizeIframe(this)' scrolling="no" style="width:100%;border:none;"></iframe>

  • For security reasons, everything that is done outside the iframe does not reflect into it and the same occurs from the inside out.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.