Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > RocketCake
iFrame with automatic length adjustment?

raimcomputi
Registered User
Quote
2021-09-25 20:06:11

I recently added new forms to my website. I integrated this via iFrame. In terms of width, this iFrame adapts responsively to the content depending on the screen resolution. But it doesn't do that at altitudes. At least I haven't found out yet. That means, I enter a height for the iFrame in Rocket Cake so that the form shown in it fits my screen. But if the screen resolution changes now, the form will eventually increase in height. And because the iFrame does not automatically lengthen, either a scroll bar is created to the side, which doesn't look nice, or the form is cut off at the bottom. The only remedy for now is to work with breakpoints. But that is relatively tedious. And it's also bad if the content of the iFrame changes frequently. Then the breakpoints have to be readjusted each time.

Now there is also the possibility to create an iFrame responsively, with automatic length adjustment, by installing a Javascript.

My question now would be: Is there a possibility, maybe in a later update, to incorporate such a function directly into Rocket-Cake?

Otherwise, I would like to express great praise for the great software. I've been working with it intensively for 1.5 years now. And a lot has changed and improved during this time. But if you deal a lot with software, you often notice things that are still missing and that might be useful.

greeting

Raimund


niko
Moderator
Quote
2021-09-26 15:18:03

Would be an idea, yes, but for now, you probably need to adjust it using JavaScript. Automatic height was always a problem with HTML, but is now a lot easier with newsest HTML versions. Not all browsers support these features yet, but we are coming there.

Thanks, nice that you like it :)


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Int?rnational" (you are not logged in)


Text:

 

  

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


   






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