![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.javascript archiveRe: A Challenge: Call parent Javascript function from inside an iframe?
From: Chris Ianson <notme@hotmail.com>
Date: Thu Apr 06 2006 - 16:37:39 CEST
"Marcello" <marcello.antolino@gmail.com> wrote in message
> I've never used Google Maps API, so I don't know if you have access to
Yep we actually just tried something similar.
The parent page now declares a map function called "walk()".
The child page (iframe) should no longer make its own changes to the iframe
[if you're unfamiliar with what is going on in the iframe from a previous
The parent code will then update the map *and* update the iframe contents.
Trouble is, it means that navigating in the iframe then relies on JS, which
> If that still doesn't work, try putting and invisible FRAME (not
Have passed this on to the other designer and will keep fingers crossed!
> Also, are you passing 'objects' or functions as parameters in this
Only as above really.
Thanks for your constructive reply Marcello. You seem to have understood
|