Lightbox won't load Agoda maps external content
Nice plugin, thank you. But when I try to load an Agoda hotel map as external content into the lightbox, I get an empty lightbox and a JS console error
I was getting something similar with Google Maps but was able to fix it by appending “&output=embed” to the end of the URL, but not with the Agoda maps which is what I really need to display in the lightbox.
The URL I am trying to display in the lightbox is:
By the way, I am not terribly technical. Just know little bits of JS. So if explaining a fix to try, please don’t assume I know what you’re talking about.
BTW, I had “use iframe” checked. When I unchecked that, I got a different error which might be easier or harder to resolve:
XMLHttpRequest cannot load http://www.agoda.com/pages/agoda/popup/popup_areamap.aspx?hotel_id=10713&ar…id=106&latitude=100.5144417&longitude=13.72401111&CID=1476677&output=embed. Origin http://traveltipsthailand.com is not allowed by Access-Control-Allow-Origin.
WordPress Version: 3.5.1
jQuery Version: 1.8.3
Site URL: http://traveltipsthailand.com
PHP Version: 5.2.17
Server Software: LiteSpeed
Lightbox Plus ColorBox Version: 2.6
LBP Shortcode Version: 3.5
ColorBox Version: 1.3.32
Simple PHP HTML DOM Parser Version: 1.5 Rev: 202
Browser: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.64 Safari/537.31
- The topic ‘Lightbox won't load Agoda maps external content’ is closed to new replies.