Re: A Challenge: Call parent Javascript function from inside an iframe?
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.javascript archive

Re: A Challenge: Call parent Javascript function from inside an iframe?

From: Chris Ianson <notme@hotmail.com>
Date: Thu Apr 06 2006 - 21:25:19 CEST

"Marcello" <marcello.antolino@gmail.com> wrote in message
news:1144343325.371143.129090@t31g2000cwb.googlegroups.com...
> Thanks Chris;
>
> if I understood correctly, basically one other problem that you have is
> having to process many stuff at the same time, in JavaScript, then
> browser's response to the user gets cranky. Is that ight?

No, that's not really a problem. Phew! :)

Here is a summary of where we're a bit stuck (sorry I have no live code at
the moment):

Basically I have one web page now with a Google Map in it, and below the
map is an inline frame containing a panoramic image. I have inserted a
series of markers onto the map. When a marker is clicked, a relevant photo
loads in the iframe.

However, it is also possible to change the image *from within* the iframe
itself, as per the example URL. E.g. clicking Go To End moves you to the
end of the image. Clicking Walk Right moves you to the next image.

***The challenge is getting the map to respond when this happens.***

E.g. clicking on a park in the map would bring up a photo of the park
in the iframe (that bit works). Conversely selecting the park image from a
text hyperlink *in* the iframe should scroll the map to centre and highlight
the related marker on the park in the map (that bit eludes us).

Hope that clarifies. I can't be any clearer until we have a URL demo.
Received on Mon May 1 04:46:14 2006