Black Friday Sale! Save up to 50% off!

iframe

jf8
87 Posts
jf8 posted this 22 March 2019
Ask a Question

Is it posible tos ad an iframe?

Is it posible tos ad an iframe?
Vote to pay developers attention to this features or issue.
10 Replies
Order By: Standard | Newest
camjup
29 Posts
camjup posted this 23 March 2019

would have to go via input in html code.

add --> html --> enter iframe-code

would have to go via input in html code. add --> html --> enter iframe-code

Last edited 23 March 2019 by camjup

jf8
87 Posts
jf8 posted this 23 March 2019

Thanks for responding Camjup :) Unfortunately I tried that, and it only shows up as code on the page. :)

Thanks for responding Camjup :) Unfortunately I tried that, and it only shows up as code on the page. :)
Willem
30 Posts
Willem posted this 24 March 2019

iframe src="https://nicepage.com/questions/29586/iframe" height="400" width="600">/iframe

Add a < before and> after iframe. I had to remove it otherwise the code doesn't show.
See als added project.

iframe src="https://nicepage.com/questions/29586/iframe" height="400" width="600">/iframe Add a &lt; before and&gt; after iframe. I had to remove it otherwise the code doesn't show. See als added project.

Last edited 24 March 2019 by Willem

Support Team
Support Team posted this 25 March 2019

Hi Willem,

I've tested your project on my side and everything is ok:

iframe.png

In most of the cases, you need to make a preview (browser preview) in order to see the executed custom code.

...................................................
Sincerely,
Olivia
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hi Willem, I've tested your project on my side and everything is ok: !iframe.png! In most of the cases, you need to make a preview (browser preview) in order to see the executed custom code. ................................................... Sincerely, Olivia Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
RickIHM
3 Posts
RickIHM posted this 13 July 2020

How do you get it to scale to fill the screen at each of the five sizes?

How do you get it to scale to fill the screen at each of the five sizes?
Support Team
Support Team posted this 13 July 2020

Rick,

Resize the HTML control manually by the magnets in each Mobile View.

Thank you!

...................................................
Sincerely,
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Rick, Resize the HTML control manually by the magnets in each Mobile View. Thank you! ................................................... Sincerely, Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp

Last edited 13 July 2020 by Support Team

Ch3vr0n
363 Posts
Ch3vr0n posted this 13 July 2020

iframes nowadays are a bad idea. Especially if the URL you're loading is an external one not linked to your domain. If that external domain would by some chance get compromised and feed malware through adds, your site would get flagged as well for serving malware with all the consequences on top.

iframes nowadays are a bad idea. Especially if the URL you're loading is an external one not linked to your domain. If that external domain would by some chance get compromised and feed malware through adds, your site would get flagged as well for serving malware with all the consequences on top.
ElNorm
11 Posts
ElNorm posted this 18 December 2020

As noted above iframes aren't always a good thing. In my case I have a personal one page site with an iframe target of the National Weather Service radar. Lately I don't even know if that's a good idea what with the mega gubment hacking going on. But I roll the dice.

Writing to say that the solution above did not work for me. But this did...

iframe.png

The code wisely won't text here so I took a picture for you. Copy it just so. If iframe you must, and hit a snag, try this one. Of course in Nicepage you need to add an 'element' and choose the HTML code thingy on the left. Paste your code into the popup code box on the right.

As noted above iframes aren't always a good thing. In my case I have a personal one page site with an iframe target of the National Weather Service radar. Lately I don't even know if that's a good idea what with the mega gubment hacking going on. But I roll the dice. Writing to say that the solution above did not work for me. But this did... !iframe.png! The code wisely won't text here so I took a picture for you. Copy it just so. If iframe you must, and hit a snag, try this one. Of course in Nicepage you need to add an 'element' and choose the HTML code thingy on the left. Paste your code into the popup code box on the right.

Last edited 18 December 2020 by ElNorm

lasthunk12
1 Posts
lasthunk12 posted this 13 September 2021

As noted above iframes aren't always a good thing. In my case I have a personal one page site with an iframe target of the National Weather Service radar. Lately I don't even know if that's a good idea what with the mega gubment hacking going on. But I roll the dice.

Writing to say that the solution above did not work for me. But this did...

The code wisely won't text here so I took a picture for you. Copy it just so. If iframe you must, and hit a snag, try this one. Of course in Nicepage you need to add an 'element' and choose the HTML code thingy on the left. Paste your code into the popup code box on the right.

How do you resize the iframe based on different screen sizes?

> As noted above iframes aren't always a good thing. In my case I have a personal one page site with an iframe target of the National Weather Service radar. Lately I don't even know if that's a good idea what with the mega gubment hacking going on. But I roll the dice. > > Writing to say that the solution above did not work for me. But this did... > > > ![](https://resources.nicepage.com/786/37786/iframe.png) > > The code wisely won't text here so I took a picture for you. Copy it just so. If iframe you must, and hit a snag, try this one. Of course in Nicepage you need to add an 'element' and choose the HTML code thingy on the left. Paste your code into the popup code box on the right. How do you resize the iframe based on different screen sizes?
Support Team
Support Team posted this 13 September 2021

Hello lasthunk12,

How do you resize the iframe based on different screen sizes?

You can search the internet for a tutorial, or check this link: https://www.w3schools.com/tags/att_iframe_height.asp

...................................................
Sincerely,
Lilioneta
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hello lasthunk12, > How do you resize the iframe based on different screen sizes? You can search the internet for a tutorial, or check this link: https://www.w3schools.com/tags/att_iframe_height.asp ................................................... Sincerely, Lilioneta Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
You must log in or register to leave comments