It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming JavaScript Forum

http://googleads.g.doubleclick.net JS error

http://googleads.g.doubleclick.net JS error

Postby sbogde on Sat Jan 16, 2010 6:37 pm

Hello,


Please take a look at http://dev.wanderthewest.com/test2_good.html
Each of the left links

link 1
link 2
link 3
link 4
link 5

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

Line: 31

and similar ones for
link 2
link 3
link 4
link 5

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 for your time.

Sorin
sbogde
 
Posts: 1
Joined: Sat Jan 16, 2010 5:40 pm

Who is online

Users browsing this forum: No registered users and 7 guests