Tagged: 

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #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.
    #1255595

    Hey 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,
    Mike

    #1255648

    yes. 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.

    #1255689

    Hi,
    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,
    Mike

    #1255692
    This reply has been marked as private.
    #1256347

    Hi,
    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,
    Mike

    #1256362

    Hi 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?

    #1256701

    Hi,
    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,
    Mike

    #1256704

    yes please you can close. Thanks for your great support!

    #1256713

    Hi,
    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

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Preloader not in lightbox page’ is closed to new replies.