Need Help adjusting/adding to my code

  • 1
  • Question
  • Updated 7 years ago
  • Answered
I am trying to show a phpBB Forum on my yola page using an iFrame.
I used this code to successfully do it:

""

How ever, the iframe comes with a scroll bar. How can I change it so that the iFrame has a variable height (the height changes to fit the forum automatically)

Note: height=100% does not work.

I have seen coded that use Javascript but I don't know where to place this (it doesn't work in CSS or in the widget)

Please Help
Photo of azharkhan

azharkhan

  • 5 Posts
  • 0 Reply Likes

Posted 7 years ago

  • 1
Photo of Gop

Gop

  • 7473 Posts
  • 2115 Reply Likes
Hi azharkhan,

Can you wrap your code in these tags please <!-- <code>Paste your code in this position</code> -->. This will prevent the Forum from trying to render it. Please ignore the <!-- and the --> this is required to prevent rendering on this post.
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Thanks Gop for your assistance on this!
Photo of azharkhan

azharkhan

  • 5 Posts
  • 0 Reply Likes
Hi. Sorry for the late reply.

<!--<iframe src="akwildshots.your-talk.com" width="100%" height="100%" scrolling = "auto">
<p>Sorry. This forum won't show in your browser. You can, however, view it <a href="http://akwildshots.your-talk.com">her...>
</iframe>-->
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Hello azharkhan,

Here's the result of a Google search when I typed in "variable height in iframe": http://www.google.ca/search?hl=en&sou...

I hope that might point you in the right direction.