I'm having a problem with makerequest... when i first made the app,
everything works properly and the same code
works fine in hi5, myspace & friendster but it's broken here on
orkut.  The "waiting" div appears for about a second than dissapears
and the app box height goes to 0px i think.  What am I doing wrong?

<div id="content" >waiting....</div>

function init(gourl) {
var target = document.getElementById('content');

try{
gadgets.io.makeRequest(gourl, function(content) { target.innerHTML =
content.text; gadgets.window.adjustHeight();} ,
                 {CONTENT_TYPE: gadgets.io.ContentType.TEXT,
                  METHOD: "GET",
                  AUTHORIZATION: gadgets.io.AuthorizationType.SIGNED});
                  gadgets.window.adjustHeight();
}
catch(er){ target.style.backgroundColor = '#f00';target.style.color =
'#fff';target.innerHTML = er.message;}
}

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Orkut Developer Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to