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:19

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  [ 4 posts ] 
Author Message
 Post subject: iFrame height
PostPosted: 28. Dec 2017, 22:16 
Offline

Joined: 28. Dec 2017, 22:11
Posts: 4
Hi Michael, you were helping me at Wordpress.org, but I'm moving the conversation here.

Using the pro version.

Source:
http://rezility.rocks/Assets/effect/banner.htm

Result:
http://rezility.rocks

It's alright, but it's out of the monitor's view at the bottom. I think it's because of the menu above the iframe.

Here is my shortcode:

[advanced_iframe securitykey="a6359db81412c57c2b34b7b825dbb9d8e1e31c45" src="http://rezility.rocks/Assets/effect/banner.htm"scrolling="no"width="100%" enable_responsive_iframe="true" iframe_height_ratio="0.4989" use_shortcode_attributes_only=”true”]

Any ideas?


Top
 Profile  
 
 Post subject: Re: iFrame height
PostPosted: 29. Dec 2017, 20:05 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Now I understand what you mean. You want the banner 100% height of the viewport?

Then remove the whole ratio stuff and use e.g.

height=”100vh-100px”

where the 100px is for the header! The pro version does support calculations at the height. If you have different headers for different devices you then can also use the browser detection.

Best, Michael


Top
 Profile  
 
 Post subject: Re: iFrame height
PostPosted: 29. Dec 2017, 20:51 
Offline

Joined: 28. Dec 2017, 22:11
Posts: 4
Soooo close! That helped a LOT, but now I’ve got a horizontal scroll even though width is set to 100%. When it first loads, it's perfect for a second! And then it resizes and goes below the viewport.

Edit: Looks like it's only happening in Chrome. Firefox and IE/Edge are ok. Another weird thing though. With that new css option, my images are scaling down before the slide occurs now. Odd.

Edit 2: Chrome is fine. The wordpress panel at top was offsetting the iframe. Only issue now is the graphics scaling down during transform, but I don't think that's your problem.


Top
 Profile  
 
 Post subject: Re: iFrame height
PostPosted: 30. Dec 2017, 04:35 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
So can i help
.?


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

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 33 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