Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum https://www.tinywebgallery.com/forum/ |
|
hide page until loaded doesn't work https://www.tinywebgallery.com/forum/viewtopic.php?f=21&t=4123 |
Page 1 of 2 |
Author: | ajoposor [ 14. Jul 2016, 19:56 ] |
Post subject: | hide page until loaded doesn't work |
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" ] |
Author: | TinyWebGallery [ 14. Jul 2016, 20:25 ] |
Post subject: | Re: hide page until loaded doesn't work |
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 |
Author: | ajoposor [ 15. Jul 2016, 13:22 ] |
Post subject: | Re: hide page until loaded doesn't work |
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. |
Author: | TinyWebGallery [ 15. Jul 2016, 13:51 ] |
Post subject: | Re: hide page until loaded doesn't work |
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 |
Author: | ajoposor [ 15. Jul 2016, 16:35 ] |
Post subject: | Re: hide page until loaded doesn't work |
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. |
Author: | TinyWebGallery [ 16. Jul 2016, 08:53 ] |
Post subject: | Re: hide page until loaded doesn't work |
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 |
Author: | TinyWebGallery [ 16. Jul 2016, 09:00 ] |
Post subject: | Re: hide page until loaded doesn't work |
I have send it to the e-mail your used in the forum. Best, Michael |
Author: | ajoposor [ 16. Jul 2016, 12:49 ] |
Post subject: | Re: hide page until loaded doesn't work |
Hi, Thank you. I didn't receive the email though. ajoposor@gmail.com |
Author: | TinyWebGallery [ 16. Jul 2016, 14:03 ] |
Post subject: | Re: hide page until loaded doesn't work |
Please check the spam folder as a zip was attached. Or provide a different email where i can send it tomorrow. Best Michael |
Author: | ajoposor [ 16. Jul 2016, 23:52 ] |
Post subject: | Re: hide page until loaded doesn't work |
Hi Michael, Got the file. Now it works as expected. Thank you very much. Best regards, Antonio |
Author: | VIPasian [ 15. Aug 2016, 12:38 ] |
Post subject: | Re: hide page until loaded doesn't work |
Just for reference, it works for me to |
Author: | TinyWebGallery [ 24. Aug 2016, 22:42 ] |
Post subject: | Re: hide page until loaded doesn't work |
Great. |
Author: | chalk [ 1. Oct 2016, 10:59 ] |
Post subject: | Re: hide page until loaded doesn't work |
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 |
Author: | TinyWebGallery [ 2. Oct 2016, 12:09 ] |
Post subject: | Re: hide page until loaded doesn't work |
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 |
Author: | chalk [ 3. Oct 2016, 10:14 ] |
Post subject: | Re: hide page until loaded doesn't work |
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 |
Page 1 of 2 | All times are UTC + 1 hour [ DST ] |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |