how to resize iframe height according to its content?
-
Hi,
I need to add an iframe in my custom plugin to display some content. I’m able to put the iframe but I need it to be the same height as its content. I’ve tried implementing the solution from the following site but I wasn’t able to get it working.
I tried following a tutorial to put javascript into my wordpress site properly but I’ve not been able to get it working:
https://www.wpbeginner.com/wp-tutorials/how-to-properly-add-javascripts-and-styles-in-wordpress/
Does anyone know how I can make such an iframe? I’ve been looking for a solution for sometime now but I couldn’t find any. I’ll really appreciate it if someone can help.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘how to resize iframe height according to its content?’ is closed to new replies.