Tagged: preloader
-
AuthorPosts
-
October 20, 2020 at 5:15 pm #1254415
Hi, is it possibile to not use the prelaoder (png image) in one specific page? I don’t want to use it in page that appears in a Lightbox (es. when a user clicks on a button that points to es. http://mysite.com/example?iframe=true).. thanks
- This topic was modified 4 years, 2 months ago by niguli.
October 26, 2020 at 2:58 am #1255595Hey Nicola,
Sorry for the very late reply, I believe we can do this, please link to the page you would link this for.Best regards,
MikeOctober 26, 2020 at 8:54 am #1255648yes. Site is in demo here: I don’t want the preloader to appear when a user clicks on yellow button “GO TO THE STAKEHOLDERS’ PLATFORM” in the “Get engaged area!”. It opens a lightbox window, but inside that I don’t want it.
October 26, 2020 at 1:01 pm #1255689Hi,
Thank you, when the button is clicked the lightbox opens the page as an iframe and the site loader showing is from the iframe. Typically iframes can’t be controlled from the viewing page, but perhaps we can add a script to the /forumup/ page. Please include an admin login.Best regards,
MikeOctober 26, 2020 at 1:07 pm #1255692This reply has been marked as private.October 28, 2020 at 12:50 pm #1256347Hi,
Sorry for the late reply and thanks for the login, on your /forumup/ page I added a code block element with this code to hide the preloader for the one page:<script> (function($){ $(document).ready(function() { $('.av-siteloader-wrap').css({"display":"none"}); }); })(jQuery); </script>
Now when the lightbox for that page opens the preloader should be hidden.
Please clear your browser cache and check.Best regards,
MikeOctober 28, 2020 at 1:26 pm #1256362Hi Mike and first of all thanks for your support.
It works!I noticed you hide che preloader via css with a js. Does it mean that the preloader is still working and it is simply hidden … this is the reason why the iframe window loads slowly?
October 29, 2020 at 1:17 pm #1256701Hi,
Glad to hear, yes we are simply “hiding” the preloader via css injected on DOM load with jQuery, so the “wait” time is for the “iframe” to load, which needs to occur, the preloader effectively signals the user that the element is loading.
I believe you will find if you disable the preloader in the theme options the “wait” time is still there, just no “signal” to the user.
Unless there is anything else we can assist with on this issue, shall we close this then?Best regards,
MikeOctober 29, 2020 at 1:20 pm #1256704yes please you can close. Thanks for your great support!
October 29, 2020 at 1:42 pm #1256713Hi,
Glad we were able to help, we will close this now. Thank you for using Enfold.For your information, you can take a look at Enfold documentation here
For any other questions or issues, feel free to start new threads in the Enfold forum and we will gladly try to help you :)Best regards,
Mike -
AuthorPosts
- The topic ‘Preloader not in lightbox page’ is closed to new replies.