Hi, guys. I've been facing this problem: registerOnLoadHandler work's fine for apps on canvas view, but not for profile. I've made a very simple gadget code, just to add text to a div's content on initialization, and it just works on canvas:
<Content type="html" > <![CDATA[ <html> <head> <script type="text/javascript" language="javascript"> function init() { document.getElementById('mydiv').innerHTML = "</br>Ok"; } gadgets.util.registerOnLoadHandler(init); </script> </head> <body> <center> <div id="mydiv">Loading.....</div> </center> </body> </html> ]]> Am I doing anything wrong here? Alex -- You received this message because you are subscribed to the Google Groups "orkut Developer Forum" group. To post to this group, send email to opensocial-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/opensocial-orkut?hl=en.