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, 17:43

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  [ 11 posts ] 
Author Message
PostPosted: 1. Apr 2017, 00:35 
Offline

Joined: 31. Mar 2017, 04:18
Posts: 14
hello,

in the below example link, I'm trying to have the iframe automatically size to the window whether on laptop, desktop, regardless of screen resolution. is this possible? right now, it has 2 scroll bars; one for browser, and one for iframe. it would be cleaner if the browser scroll went away, and only the iframe scroll remained.

http://www.themeinerts.com/genealogy/wp/bio_meinert-johann-adam

if it helps with clarity of what I'm looking for. the sticky footer would always be seen at the bottom of the screen regardless of resolution.

hope this makes sense.

thank you,

David


Top
 Profile  
 
PostPosted: 1. Apr 2017, 23:33 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
I only see an error page at the link. And which configuration have you used?

Best, Michael


Top
 Profile  
 
PostPosted: 2. Apr 2017, 00:17 
Offline

Joined: 31. Mar 2017, 04:18
Posts: 14
sorry about that. try it again please Michael. I had an error in my path when I moved from my xampp to my hosting service.


Top
 Profile  
 
PostPosted: 2. Apr 2017, 16:22 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
As this is on the same domain you simply have to enable auto height.

See: http://www.tinywebgallery.com/blog/advanced-iframe/demo-advanced-iframe-2-0

-> onload_resize="true"

Best, Michael


Top
 Profile  
 
PostPosted: 2. Apr 2017, 18:21 
Offline

Joined: 31. Mar 2017, 04:18
Posts: 14
Michael,

that setting is checked; but it's not performing as it should. is there another setting I'm missing?

thank you


Top
 Profile  
 
PostPosted: 2. Apr 2017, 23:29 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
In the code that is rendered no onload event that should be and that triggeres the resize is there. so how does you shortcode look like?

Best, Michael


Top
 Profile  
 
PostPosted: 3. Apr 2017, 02:47 
Offline

Joined: 31. Mar 2017, 04:18
Posts: 14
Michael,

below is my shortcode.

[advanced_iframe securitykey="cbb0d3a3b890ba9087229b83930785e34121a21e" use_shortcode_attributes_only="true" src="//localhost" id="advanced_iframe" onload_resize="true" onload_resize_width="true" resize_on_ajax_jquery="false" ]


Top
 Profile  
 
PostPosted: 3. Apr 2017, 10:40 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
on http://www.themeinerts.com/genealogy/wp/bio_meinert-johann-adam it seems to work.
Please change the id! 58 is not valid! make e58 if you like. This kills the Javascript for some features.

Best, Michael


Top
 Profile  
 
PostPosted: 4. Apr 2017, 00:18 
Offline

Joined: 31. Mar 2017, 04:18
Posts: 14
Michael,

the page ID I got from a WP addon that tells what each page ID is. 58 is correct for that page. perhaps I'm misunderstanding the utility of that part of the code??

also, if you're saying that's the intended affect of the code; then it's not what I'm looking for. can you take a look at my original post again please.

thank you,

David


Top
 Profile  
 
PostPosted: 4. Apr 2017, 10:57 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
The id is a number YOU can define. It only has to be unique for a page that so using id="advanced_iframe" is completely fine for you!

And for me auto height seems to work fine. So what is still the problem?

Best, Michael


Top
 Profile  
 
PostPosted: 5. Apr 2017, 00:13 
Offline

Joined: 31. Mar 2017, 04:18
Posts: 14
Michael,

>> The id is a number YOU can define.
ah, I see. I thought it was the page ID. thank you for the clarification.

in the below example link, I'm trying to have the iframe automatically size to the window (what you see on the screen) whether on laptop, desktop, regardless of screen resolution. is this possible? right now, it has a scroll bar on the browser it would be cleaner if the browser scroll went away, and only the iframe scroll remained. in this way, the footer would remain on the screen.

http://www.themeinerts.com/genealogy/wp/bio_meinert-johann-adam

if it helps with clarity of what I'm looking for. the sticky footer would always be seen at the bottom of the screen regardless of resolution.

hope this makes sense.

does this make sense??


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

All times are UTC + 1 hour [ DST ]


Who is online

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