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 12. Dec 2017, 17:54

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 16 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: 14. Jul 2016, 19:56 
Offline

Joined: 14. Jul 2016, 19:48
Posts: 5
I want the hide_part_of_iframe item not to be shown before the parent is loaded. It seems that by using show_part_of_iframe the hide_page_until_loaded stops working. Below the example. I would appreciate your support.

[advanced_iframe securitykey="your key"
use_shortcode_attributes_only="true"
src="https://finviz.com/map.ashx?t=sec_all"
id="one_day_market_map"
height="700"
width="1050"
show_part_of_iframe="true"
show_part_of_iframe_x="210"
show_part_of_iframe_y="160"
show_part_of_iframe_width="810"
show_part_of_iframe_height="510"
show_part_of_iframe_zoom = "full"
enable_lazy_load="true"
enable_lazy_load_threshold="250000"
scrolling="no"
hide_part_of_iframe="0,0,100%,100%,transparent,10|0,450,430,50,#262931,0"
show_iframe_loader="true"
hide_page_until_loaded="true"
]


Top
 Profile  
 
PostPosted: 14. Jul 2016, 20:25 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10571
Hi,

hide_page_until_loaded does hide the iframe until it is loaded.
If you like to hide the parent until the iframe is loaded you need to use
hide_content_until_iframe_color with a background color which places a layer in this color over the whole page until it is loaded.

Best, Michael


Top
 Profile  
 
PostPosted: 15. Jul 2016, 13:22 
Offline

Joined: 14. Jul 2016, 19:48
Posts: 5
Thanks for your prompt response. Your suggestion is actually an option that works.

Nonetheless, I would like the page to behave like in example 8 (http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/hide-a-part-of-the-iframe#e8). I want the hide divs not to appear but after the remote is loaded.

Another issue I have with my case, is that the hide_div somehow dissapears after the remote is loaded, as if it were placed behind the remote.


Top
 Profile  
 
PostPosted: 15. Jul 2016, 13:51 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10571
o.k. - I have to check this with the hide.

About your
hide_part_of_iframe="0,0,100%,100%,transparent,10|0,450,430,50,#262931,0"

because you have a z-index (a layer) of 10 and 0. you need to set this to hither values as the page itself can have elements with z-index set.

Best, Michael


Top
 Profile  
 
PostPosted: 15. Jul 2016, 16:35 
Offline

Joined: 14. Jul 2016, 19:48
Posts: 5
Thank you. I solved the hide rectangles issue as per your suggestion. I had to put the black one with a higher z-layer value than the whole transparent though (hide_part_of_iframe="0,450,430,50,#262931,12|0,0,100%,100%,transparent,11").

Hope you can help me with the other issue.


Top
 Profile  
 
PostPosted: 16. Jul 2016, 08:53 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10571
I found the problem.

The generated css was missing one simple } with your shortcode.

I can send you an updated version. To which e-mail should I send it?

Best, Michael


Top
 Profile  
 
PostPosted: 16. Jul 2016, 09:00 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10571
I have send it to the e-mail your used in the forum.

Best, Michael


Top
 Profile  
 
PostPosted: 16. Jul 2016, 12:49 
Offline

Joined: 14. Jul 2016, 19:48
Posts: 5
Hi, Thank you. I didn't receive the email though. ajoposor@gmail.com


Top
 Profile  
 
PostPosted: 16. Jul 2016, 14:03 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10571
Please check the spam folder as a zip was attached.

Or provide a different email where i can send it tomorrow.

Best Michael


Top
 Profile  
 
PostPosted: 16. Jul 2016, 23:52 
Offline

Joined: 14. Jul 2016, 19:48
Posts: 5
Hi Michael,

Got the file. Now it works as expected. Thank you very much.

Best regards,

Antonio


Top
 Profile  
 
PostPosted: 15. Aug 2016, 12:38 
Offline

Joined: 15. Aug 2016, 12:34
Posts: 1
Location: London
Just for reference, it works for me to :D


Top
 Profile  
 
PostPosted: 24. Aug 2016, 22:42 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10571
Great.


Top
 Profile  
 
PostPosted: 1. Oct 2016, 10:59 
Offline

Joined: 19. Sep 2016, 11:20
Posts: 8
Hi everyone. I was just going to make a thread on this subject and saw this one so hopefully can hijack it for a quick answer.

I just added shortcode - hide_content_until_iframe_color="#ffffff" - over at this page http://www.dorfmeisterstudios.com/fullscreen-floorplan/

I'm not sure if it's working as the bit I want to hide is the inbuilt 'engine loading' with the big A - which is part of the iframe. So it might be that the hide_content is working.

Is there anyway to hide this iframe until the main inbuilt loading screen is finished? Maybe a delay of some kind? Can you force it to hide for a few seconds maybe?

Thanks for any input

Chalk


Top
 Profile  
 
PostPosted: 2. Oct 2016, 12:09 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10571
This depends on the iframe content.

The plugin has the onload event of the iframe and the onload event of the whole page.
If your page in the iframe loads stuff still after that you would have to change the code in the plugin for an additional timeout.

Best, Michael


Top
 Profile  
 
PostPosted: 3. Oct 2016, 10:14 
Offline

Joined: 19. Sep 2016, 11:20
Posts: 8
Thanks Michael.

So there's no easy way to add a timeout from your plugin without doing some serious code editing then? It does seem like the iframe is delayed till loading but the other info is part of that iframe so a forced delay is probably the only way.

Thanks

Chalk


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 16 posts ]  Go to page 1, 2  Next

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 3 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® Forum Software © phpBB Group

phpBB SEO