• Hi everyone,
    I’m using Easy Fancybox for a while now, but I detected some problem on mobile pages. For example, let’s see page : https://dompp.pl/projekty-domow/house-12-1/, it’s one of our house designs and in tab ‘Rzuty’ you can check plans for this house. On computers image is big enough to see details, but when you click it on mobile screen it opens fitted to the screen. I would like to add ‘OPEN FULL IMAGE IN A NEW TAB’ button below the image, but I’m beginner, so could someone tell me how to add this button?

    • This topic was modified 7 years, 2 months ago by patrykpp.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Hi, there are instruction on how to disable the fancybox popup for small screens on the FAQ’s (search for “mobile”) on https://www.ads-software.com/plugins/easy-fancybox/#faq

    Use this script snippet in a HTML widget:

    
    <script type="text/javascript">
    var pixelRatio = window.devicePixelRatio || 1;
    if(window.innerWidth/pixelRatio < 641 ) {
      easy_fancybox_handler = null;
    };
    </script>
    

    (the “< 641″ means screen width of 640 pixels and lower; adapt it to your desire)

    Then go edit the actual link and give it a target=”_blank” attribute so it will open in a new tab.

Viewing 1 replies (of 1 total)
  • The topic ‘Add a button to image frame’ is closed to new replies.