PDA

View Full Version : Iframe height adjustable


André Barreto
10-25-2009, 05:32 AM
Hi!

I wanna know how I do to the iframe height goes to the height of the content. I've tried this java:

<script language=”JavaScript” type=”text/javascript”> parent.document.getElementById(”id_do_iframe”).hei ght = document.getElementById(”tamanho”).scrollHeight + 40;
</script>

but it din't worked.