mrssidvicious
Posts: 3
Joined: Sat Nov 07, 2009 4:51 am

iFrame liking to google maps

Hello -

I have used the iFrame example to link to a HTML like the example that is included in the demo. This works great. However when I chance the link to link to google maps for example it will load google maps in the iframe but everything is lined up wrong and the graphic do not show up. Below is the code that I changed on the main html:

<a href="http://maps.google.com/" onclick="return hs.htmlExpand(this, {
objectType: 'iframe'} )" >
Content in iframe
</a>

Should i be changing something else in the JS or css or am I using the wrong code? I tried the ajax example and that doesn't seem to even work when I change the source code.

Thank you for creating a awesome js function!!! And thank you for taking the time to answer my question.
User avatar
RoadRash
Posts: 8249
Joined: Tue Jul 15, 2008 6:43 pm
Location: Fredrikstad, Norway
Contact: Website

Re: iFrame liking to google maps

Try loading Google Maps after the popup is opened.

Code: Select all

<a href="http://maps.google.com/" onclick="return hs.htmlExpand(this, { objectType: 'iframe', objectLoadTime: 'after', height: 500, width: 800 } )">
	Content in iframe
</a>
Hilde
Highslide Support Team

Overview of my Highslide sample pages: RoadRash.no
mrssidvicious
Posts: 3
Joined: Sat Nov 07, 2009 4:51 am

Re: iFrame liking to google maps

Thanks for the response

Return to “Highslide Editor”