I am having issues with loading a Google Maps gadget into an iFrame. I
created the gadget with a custom destination address but when loaded
into an iFrame all of the predefined values are reverting back to
their default values.
//Javascript function for loading google maps gadget
function loadGadget()
{
document.getElementById("gadget").src = "http://www.gmodules.com/
ig/ifr?url=http://hosting.gmodules.com/ig/gadgets/file/
114281111391296844949/driving-
directions.xml&up_fromLocation=&up_myLocations=2291%20Riverfront
%20Pkwy.%2C%20Cuyahoga%20Falls%2C%20OH
%2044221&up_defaultDirectionsType=&up_autoExpand=&synd=open&w=320&h=55&title=Get
+Driving
+Directions&brand=light&lang=en&country=US&border=
%23ffffff%7C0px%2C1px+solid+%23004488%7C0px%2C1px+solid+%23005599%7C0px
%2C1px+solid+%230077BB%7C0px%2C1px+solid+%230088CC&output=js";
}
//li nav item
<ul>
<li><a class="goto5" href="#"
onclick="animatedcollapse.hide('topDiv');animatedcollapse.show('rotator');opacityClick('myDiv5');loadGadget()"><div
class="off">Contact</div></a></li>
</ul>
//My iFrame id
<iframe id="gadget"></iframe>
Any help would be much appreciated.
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en.