• Resolved dobriku

    (@dobriku)


    Is there any way to open something like that in lightbox?
    <script type="text/javascript" charset="utf-8" async src="https://api-maps.yandex.ru/services/constructor/1.0/js/?um=constructor%3A493470698dea1663d3e78df420a7d289ba15bc1b58f4ed58570c8c461c3b3dfd&width=100%25&height=350&lang=ru_UA&scroll=true"></script>

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter dobriku

    (@dobriku)

    Is there any way to open internal link in lightbox?

    Plugin Author arisoft

    (@arisoft)

    Hello

    You can create a separate page where the script will be added and load this page into the lightbox. For this add ari-fancybox-iframe CSS class to the link for the page. HTML code will look like:

    <a href="LINK_TO_PAGE_WITH_SCRIPT" class="ari-fancybox-iframe">Show map</a>

    Thread Starter dobriku

    (@dobriku)

    Thank you!
    I’ve got another question…about frame to google maps for example i have a plugin based on adress here is an example link generation code
    $google_map_address_url = "https://www.google.com/maps/?q=" . $property_location['address'];}
    Link it generates looks like this https://maps.google.com/?q=odesa%20texas%20usa
    Doesn’t load map 🙁 it generates only white screen… any idea how to fix?

    Plugin Author arisoft

    (@arisoft)

    Could you try to add output=embed parameter to the link:

    $google_map_address_url = "https://www.google.com/maps/?q=" . $property_location['address'] . "&output=embed";

    or

    https://maps.google.com/?q=odesa%20texas%20usa&output=embed

    Thread Starter dobriku

    (@dobriku)

    Awesome! Thank you for such a good advice 🙂
    You definetely deserve 5 stars review 😀
    So far i use this plugin for just a few hours – but so far it looks realy promising! 🙂
    With best regards !

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Script in lightbox’ is closed to new replies.