Reply To: Multiple Links Within iframe

Your Account / Forums / Easy FancyBox Pro / Multiple Links Within iframe / Reply To: Multiple Links Within iframe

September 23, 2016 at 12:21 am #7067

Hi Ben, see what you mean there… I’m not very familiar with Google Fusion Tables but I guess the ideal would be to have one link that opens up the MAP view with the CARD info window already opened, without the user needing to search and click the related icon.

I’ve searched the documentation but cannot find any useful tips but found nothing for Fusiontables. For example, basic Google Maps used to have URL parameters like “iwd” and “iwloc” to control info window states. Not sure that even exists anymore but there might be something similar for Fusion Tables. You might want to ask on the support forum https://productforums.google.com/forum/#!forum/google-fusion-tables if there is such a possibility.

If not, then there is another solution:

You’ll have to switch Easy FancyBox to Inline Content mode and create a hidden div on each page that contains both the the embedded card iframe code and the map iframe code and link to that…

Something like:


<a href="#info">i</a>
<div class="fancybox-hidden"><div id="info" style="width:566px;height:900">
<iframe src="https://fusiontables.google.com/embedviz?viz=CARD&q=select+*+from+1J7LDJg5poogxCbD--kCVzwBuXW9xHU9nZbc3P9Ab+where+col3+%3D+%27Lewis%2C+Lucy%27&tmplt=3&cpr=2" width="100%" height="480" frameborder="0" />
<iframe src="https://fusiontables.google.com/embedviz?q=select+col1+from+1J7LDJg5poogxCbD--kCVzwBuXW9xHU9nZbc3P9Ab&viz=MAP&h=false&lat=30.26880413802582&lng=-95.40978623638527&t=1&z=8&l=col1&y=2&tmplt=2&hml=GEOCODABLE" width="100%" height="420" frameborder="0" />
</div></div>

(untested, might not look or fit good yet)