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 22. Nov 2024, 11:49

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: 10. Mar 2018, 19:02 
Offline
User avatar

Joined: 23. Nov 2016, 04:07
Posts: 14
Greetings. Setting the Advanced iframe height to a ratio works very well in my instance: http://thehvacsource.com. I would like to update the height ratio based on screen size and have no control over the framed site. I used media queries to accomplish this goal and they worked perfectly in Chrome. However, IE11 and Firefox did not recognize the media queries. Is there a more direct way to accomplish this goal (other than CSS), or a way to make IE11 and Firefox recognize the media queries? Below is the media query that works in Chrome, allowing a little more height as the screen width is reduced (and you can test):

Code:
@media only screen and (max-width: 1080px) { /* below 1080px */
    #ai-div-hvac2 {
     height:1320px !important;
   }
    #hvac2 {
     height:1410px !important;
   } 
}


Thank you.


Top
 Profile  
 
PostPosted: 17. Mar 2018, 18:48 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
No. I also use media queries for this in my examples if I don't have access to the content in the iframe.
See http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/show-only-a-part-of-the-iframe#e55

The interesting thing this is why Firefox and IE do not handle this. Because they should support this as well.

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 30 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