calling javascript function inside orkut iframe

Posted by tsetsik on Stack Overflow See other posts from Stack Overflow or by tsetsik
Published on 2010-06-01T08:39:26Z Indexed on 2010/06/01 8:43 UTC
Read the original article Hit count: 151

Filed under:
|
|

Hi guys, I'm having a web game loaded in orkut application via iframe so there are the orkut iframe and mine iframe inside the xml. Everything is ok, but now I need to have a button for inviting some friends and wall posts from some features. I didn't find a way for including the orkut javascript in the game's code so the first thing that pops into my mind was to call a custom function in the xml by using: window.parent.myFunction(); but it gives me error: permission denied. I've tried some other ways of reaching that function but the error is the same. Does anybody know a way of doing that or this can't be done ?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about iframe