Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum https://www.tinywebgallery.com/forum/ |
|
Problem with resizing height to external content https://www.tinywebgallery.com/forum/viewtopic.php?f=21&t=3965 |
Page 1 of 1 |
Author: | tairak [ 30. Oct 2015, 21:09 ] |
Post subject: | Problem with resizing height to external content |
I'm having a problem with this site: http://brockvilletourism.com/things-to-do/restaurants-and-dining/ The iframe holds the directory listings. They are from here: http://mybrockville.biz/wp/listing-category/accommodations/ The problem is the frame height auto-set will not work with the above page. I had to set the height to 1300px. However, the auto-height does work if I load the home page (http://mybrockville.biz/wp/) instead. I gather there is a difference in the way these external pages load (ajax?), but I don't understand it fully. If you have any ideas, it would be very appreciated. Thank you, Taira |
Author: | TinyWebGallery [ 31. Oct 2015, 01:58 ] |
Post subject: | Re: Problem with resizing height to external content |
If you load something by ajax you have 2 options: - delay the resize - Activate "Resize on element resize". I would go for the 2nd option as is also does resize the content if it changes dynamically. Best, Michael |
Page 1 of 1 | All times are UTC + 1 hour [ DST ] |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |