Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 25. Nov 2024, 05:16

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 29. Aug 2017, 21:00 
Offline

Joined: 29. Aug 2017, 20:11
Posts: 1
I am including an external page in my iFrame that has 2 div sections, only one of which is displayed at a time. The user can select to see the other section via dropdown, at which point the first div is marked hidden and the second larger div displays. The problem is obviously that the iFrame was already sized based on the initial div that was displayed, which was smaller.

Any ideas on how to get it to resize?

I can have my external content provider code anything that will help resolve the issue.

Thanks for your help.


Top
 Profile  
 
PostPosted: 30. Aug 2017, 21:27 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Yes. The solution is to use

resize on element resize:
See a working demo here:
http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/resize-on-element-resize

Best, Michael


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 28 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
powered by phpbb | Datenschutz/ Privacy policy