Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum https://www.tinywebgallery.com/forum/ |
|
Resize iframe on element resize https://www.tinywebgallery.com/forum/viewtopic.php?f=21&t=4170 |
Page 1 of 1 |
Author: | aparisis [ 8. Nov 2016, 11:11 ] |
Post subject: | Resize iframe on element resize |
Hi, I use the advandec iframe pro. I want to iframe a page from the same domain, which resizes it's height but with no success. The shortcode I use is: [advanced_iframe securitykey="607581dba2df55242c57d35c88808459fabd619b" use_shortcode_attributes_only="true" src="http://bubblingsounds.gr/sam/request-index_en.html" onload_resize="true" width="100%" height="100" resize_on_element_resize="#content" resize_on_element_resize_delay="100" id="advanced_iframe" content_id=".ai-class-0" scrolling="no"] At the advanced settings of the plugin, on the "Resize on element resize" I put #content . Any help about please? Regards Andreas |
Author: | TinyWebGallery [ 8. Nov 2016, 14:41 ] |
Post subject: | Re: Resize iframe on element resize |
There is no #content id. And content_id=".ai-class-0" is only half of the configuration. What do you want with this? But there is a reload. So onload_resize="true" should do the auto height. Can you provide the parent url? Best, Michael |
Author: | aparisis [ 8. Nov 2016, 16:05 ] |
Post subject: | Re: Resize iframe on element resize |
The parent url is http://bubblingsounds.gr/en/search-listen/ As you can see, there is a button "Seasrch". When you make a search, the page shows results. That's what I want to do... |
Author: | aparisis [ 8. Nov 2016, 20:45 ] |
Post subject: | Re: Resize iframe on element resize |
Hi, I fix it. Thanks for your time. Regards Andreas |
Author: | TinyWebGallery [ 9. Nov 2016, 11:46 ] |
Post subject: | Re: Resize iframe on element resize |
What was the problem then? |
Author: | aparisis [ 9. Nov 2016, 12:03 ] |
Post subject: | Re: Resize iframe on element resize |
First I use the div id. To the page that I wanted to iframe, from a previous use, I had the script for different domain. I remove it and it works. |
Page 1 of 1 | All times are UTC + 1 hour [ DST ] |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |