I think the problem with appbox height going to 0px is that you are using gadgets.window.adjustHeight(); just after makeRequest() which results in iframe height adjustment before the content from makeRequest() has actually loaded. You can try out some makeRequest examples here- http://code.google.com/p/opensocial-resources/wiki/GadgetsMakeRequest with the latest opensocial dev app - http://sandbox.orkut.co.in/Main#AppInfo.aspx?appId=291092957065 I suggest you to use response.error for debugging the response rather than try..catch constructs. ThanksAakash
> Date: Mon, 3 Nov 2008 07:05:17 -0800> Subject: [orkut-developer] makerequest > problem> From: [EMAIL PROTECTED]> To: opensocial-orkut@googlegroups.com> > > > 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;}> }> > > _________________________________________________________________ When your life is on the go—take your life with you. http://clk.atdmt.com/MRT/go/115298558/direct/01/ --~--~---------~--~----~------------~-------~--~----~ 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-orkut@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---