MySpace Open Platform

A Place For Developers

Welcome Developers!

in

Welcome!

in

JS Parent function not working in App

Last post 06-19-2009 1:15 PM by Jorge. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 05-14-2009 1:47 PM

    JS Parent function not working in App

    I have been converting a js/php based layout generator into a MySpace app but I am getting an error when viewing the "canvas" app. The generator works fine on my site in both IE7 and Firefox but when viewing through and Iframe on MySpace I get the error in my bottom IE status bar “’parent.preview’ is null or not an object” and the layout code box where the user is supposed to get the code from remains blank.

     

    I'm not the most talented with .js so I'm at a loss as to why it works fine on my site but not from within the Iframe on MySpace. Here is the link to the generator on my site http://www.msfreelayouts.com/Layout_Generator/index.php

  • 05-28-2009 9:19 AM In reply to

    Re: JS Parent function not working in App

     Hi, sorry for the late response. Are you still having this problem?

     

  • 06-19-2009 1:15 PM In reply to

    Re: JS Parent function not working in App

     The apps run on a Jailed Iframe you don't have direct access to the container page That is why you are getting this error. 

    Jorge

Page 1 of 1 (3 items)