Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Dynamically Resizing Iframes
28-12-2009, 02:35 PM
Post: #1
Question Dynamically Resizing Iframes
Hi everyone! This is a plea for help!

The forum you are currently browsing should be in an iframe within the website. I want to make it dynamically change the height of the iframe based on the actual size of its content (ie the forum) I have implemented a script as per the instructions on this website: http://www.dynamicdrive.com/dynamicindex...messi2.htm however it doesn't seem to work. Currently I have had to set the height at 1024 otherwise the forum doesn't show up correctly in most browsers and now I am stuck.

If you view the source code of this page you should be able to see how I have used the script. Can anyone show me where I've gone wrong? Huh
Visit this user's website Find all posts by this user
Quote this message in a reply
28-12-2009, 03:02 PM
Post: #2
RE: Dynamically Resizing Iframes
Also please ignore the fact that stuff keeps changing like the colours on here and the icons, I'm still messing about setting things up Angel
Visit this user's website Find all posts by this user
Quote this message in a reply
16-02-2010, 04:44 PM
Post: #3
RE: Dynamically Resizing Iframes
As you can see I'm still struggling big time with this Sad I don't want to have to have the forum only open in a new window, any help on this would be much appreciated!

James Winder
MycoImage Administrator

http://www.jameswinder.co.uk
http://www.mycoimage.co.uk
Visit this user's website Find all posts by this user
Quote this message in a reply
16-02-2010, 04:45 PM (This post was last modified: 16-02-2010 04:45 PM by James.)
Post: #4
RE: Dynamically Resizing Iframes
Oh by the way, it works fine in any browser as long as the site is offline, as soon as I upload this page the dynamic resizing stops working! Grrrrrr.

James Winder
MycoImage Administrator

http://www.jameswinder.co.uk
http://www.mycoimage.co.uk
Visit this user's website Find all posts by this user
Quote this message in a reply
24-02-2010, 05:05 PM
Post: #5
RE: Dynamically Resizing Iframes
I've just figured out a much smarter way to do this. Sorted Smile

James Winder
MycoImage Administrator

http://www.jameswinder.co.uk
http://www.mycoimage.co.uk
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:




Contact Us | MycoImage | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication