View Single Post
Join Date: Sep 2008
Posts: 18
Reputation: jproducer is an unknown quantity at this point 
Solved Threads: 0
jproducer's Avatar
jproducer jproducer is offline Offline
Newbie Poster

Re: iFrame resize - sort of repeat issue

 
0
  #3
Dec 5th, 2008
I did see something like this while searching, seems to be the best answer. Luckily it's a script on my site, so i have complete access to the pages. I'll give it a shot and let you know how it turns out.

Originally Posted by fizzix View Post
What you can do is have a javascript onload on the body of the forum pages. Use something like this:

  1. function calledOnLoad() {
  2. window.top.getElementById('myiframe').style.height = document.scrollHeight;
  3. }

I didn't test it and some of the properties might be different, but that should give you an idea. Ask me if you have any questions.
Reply With Quote