I implement a Google Map for my village using the Google API.
I invoke / call this from an iFrame on my site here
http://www.beleuramyhome.org.au/ in the middle, enter for Villa number 221 and see what happens, instead of this :
http://www.beleuramyhome.org.au/myloc.php?villa=221
But - the map opens inside the iFrame, I want it to open in a new page instead, here is my JS function which doesn't do what I want, it is called on the button through an Onclick event
<script>
function AddInputValue()
{
var domain = "http://www.beleuramyhome.org.au/myloc.php?villa="
var qstring = document.getElementById("villano").value;
var redirect = domain.concat(qstring);
window.location.href = redirect;
}
</script>
Redirecting from an iFrame
Re: Redirecting from an iFrame
l have try the link you gave http://www.beleuramyhome.org.au/ and everything is ok, the map is not showing in a iframe !
Re: Redirecting from an iFrame
Hi Maxime,
Yes, I have in the meantime fixed it, I removed the iFrame and did the whole thing in the page itself
Thanks for your feedback and follow up
Cheers
Yes, I have in the meantime fixed it, I removed the iFrame and did the whole thing in the page itself
Thanks for your feedback and follow up
Cheers