Blind Dragon
Posts: 3,774 +4
I have integrated phpbb3 into a CMS script. Meaning when a member joins my site, they automatically get an account in the phpbb3 forums. Now the problem is currently the forums load externally to the CMS, then I added a link back to the main site.
I would like to fully integrate it. So I tried created a page named forum.php and used an iframe to bring the forums within the content area of the CMS. The problem is the height issue. I get scroll bars on the forums and on the browser (2 sets of scroll bars) This makes usability horrible.
I am looking for an alternative to using the iframe. Or a fix to dynamically set the height of the iframe to adjust the iframes content. I would just set height to 1500px but then on a short page there is a ton of wasted space. height="100%" wont work, with iframes you can only set the width to 100%. So what to do?
I was thinking of using javascript to determine the page height, then call the iframe and have it pull the height from the script?
I was curious how VB is integrated into contenteller here at techspot? Is it using an iframe with javascript
I would like to fully integrate it. So I tried created a page named forum.php and used an iframe to bring the forums within the content area of the CMS. The problem is the height issue. I get scroll bars on the forums and on the browser (2 sets of scroll bars) This makes usability horrible.
I am looking for an alternative to using the iframe. Or a fix to dynamically set the height of the iframe to adjust the iframes content. I would just set height to 1500px but then on a short page there is a ton of wasted space. height="100%" wont work, with iframes you can only set the width to 100%. So what to do?
I was thinking of using javascript to determine the page height, then call the iframe and have it pull the height from the script?
I was curious how VB is integrated into contenteller here at techspot? Is it using an iframe with javascript