Title: Script in lightbox
Last modified: February 24, 2018

---

# Script in lightbox

 *  Resolved [dobriku](https://wordpress.org/support/users/dobriku/)
 * (@dobriku)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/script-in-lightbox/)
 * 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](https://wordpress.org/support/users/dobriku/)
 * (@dobriku)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/script-in-lightbox/#post-10010536)
 * Is there any way to open internal link in lightbox?
 *  Plugin Author [arisoft](https://wordpress.org/support/users/arisoft/)
 * (@arisoft)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/script-in-lightbox/#post-10010656)
 * 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](https://wordpress.org/support/users/dobriku/)
 * (@dobriku)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/script-in-lightbox/#post-10010714)
 * 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](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](https://wordpress.org/support/users/arisoft/)
 * (@arisoft)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/script-in-lightbox/#post-10010746)
 * 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](https://wordpress.org/support/users/dobriku/)
 * (@dobriku)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/script-in-lightbox/#post-10010771)
 * 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.

 * ![](https://ps.w.org/ari-fancy-lightbox/assets/icon-256x256.png?rev=1580843)
 * [ARI Fancy Lightbox - Popup for WordPress](https://wordpress.org/plugins/ari-fancy-lightbox/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ari-fancy-lightbox/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ari-fancy-lightbox/)
 * [Active Topics](https://wordpress.org/support/plugin/ari-fancy-lightbox/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ari-fancy-lightbox/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ari-fancy-lightbox/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [dobriku](https://wordpress.org/support/users/dobriku/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/script-in-lightbox/#post-10010771)
 * Status: resolved