ambiera logo

Ambiera Forum

Discussions, Help and Support.

folder icon Ambiera Forum > RocketCake
forum topic indicator [Feature Request] iframe height dynamic based on content inside
person icon
Adler
Guest
Quote
2026-03-15 18:04:36

it would be great to have an option in the iframe properties, that the height is based on the content inside.


(current workarround is to set it manually in the html file:
<script type="text/javascript">
function resizeIframe(iframe) {
iframe.height = iframe.contentWindow.document.body.scrollHeight + 40 + "px";
}
</script>

<iframe ="resizeIframe(this)" ...>)

person icon
niko
Moderator
Quote
2026-03-16 07:31:46

Yes, that's a good idea, will be added with the next update.

person icon
Adler
Guest
Quote
2026-04-13 18:15:42

Sadly not in the v7.2 emoji icon_sad

person icon
niko
Moderator
Quote
2026-04-14 08:00:47

Yes - sorry - I looked into this but unfortunately this can only work when the iframe target is on the same server as the source - so for most users that won't work unfortunately.

person icon
Adler
Guest
Quote
2026-04-15 18:03:05

Oh ok... Would it be too complex to implement, considering it would only work for a small number of users? And if not, would it be possible to add it as a kind of ‘hidden’ or advanced option?

person icon
niko
Moderator
Quote
2026-04-16 08:16:15

Ya, the problem is it would likely confuse most people since it wouldn't work in 99% of all use cases - a "hidden" option would probably solve that - but just adding a script like above manually would probably be easier in that case.

person icon
Adler
Guest
Quote
2026-04-16 08:18:29

Alright ????

person icon
Adler
Guest
Quote
2026-04-16 08:19:26

Oh, i Put an "Thumps Up" Emoji Not "????" Weird

person icon
niko
Moderator
Quote
2026-04-16 10:34:19

Looks a bit more aggressive that way, ha. Yes, need to update the forum to support emojis, too. emoji icon_grin


Create reply:










 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


icon_holyicon_cryicon_devilicon_lookicon_grinicon_kissicon_monkeyicon_hmpf
icon_sadicon_happyicon_smileicon_uhicon_blink   






Copyright© Ambiera e.U. all rights reserved.
Contact | Imprint | Products | Privacy Policy | Terms and Conditions |