Please take a look at http://dev.wanderthewest.com/test2_good.html
Each of the left links
simply calls the my_ext_func() JS function (defined in a different IFRAME!).
so far, so good.
now please also open http://dev.wanderthewest.com/test2_bad.html
"link1" here for example shows in my FF the following error:
Error: Permission denied for <http://dev.wanderthewest.com> to get property Window.my_ext_func from <http://googleads.g.doubleclick.net>.
Source File: http://dev.wanderthewest.com/test2_bad.html
and similar ones for
now, what is the difference between test2_bad.html and test2_good.html ?
test2_bad.html simply has the ADSENSE code on top of the google map.
please look again at the error returned in FF:
Permission denied for <http://dev.wanderthewest.com> to get property Window.my_ext_func from <http://googleads.g.doubleclick.net>.
in other words http://googleads.g.doubleclick.net doesn't like the fact that I am trying to call a function from another IFRAME (Window.my_ext_func).
Do you have any idea how to fix this? I really must use some links that call a JS function defined in a different IFRAME.
Thanks a lot again for your time.