Ideally, you shouldn't have to include a setTimeout call, which isn't guaranteed to work anyway. Can you reply with the URL of your app and the location of the gadgets.window.adjustHeight call? _IG_AdjustIFrameHeight is a legacy API function which you should remove.
- Jason On Oct 17, 4:20 am, Aakash Bapna <[EMAIL PROTECTED]> wrote: > To get rid of scrollbars you can try something like > setTimeout('gadgets.window.adjustHeight()',3000) in the end of your JS code. > also can put it as an onLoad event in img tags, eg- <img src='someimage.png' > onload='gadgets.window.adjustHeight();' /> > If still you are not able to get rid of them please post a link of your app, > i will take a look at it. > > Thanks > Aakash > > Date: Fri, 17 Oct 2008 10:21:16 +0200From: [EMAIL PROTECTED]: [EMAIL > PROTECTED]; [EMAIL PROTECTED]: [orkut-developer] get rid of the scrollbars > Hi > > How can I get rid of the scrollbars for my application. I tried with height > and width attribute on ModulePrefs tag and also with > > <script type="text/javascript"> _IG_AdjustIFrameHeight(); > gadgets.window.adjustHeight();</script> > > in my canvas view, but I am still having the scrollbars. I also put > gadgets.window.adjustHeight(); on the call back functions that paint the > content. > > I am having those scrollbars on orkut only. > > Any faster ideas would be appreciated! > > Thanks in > advance,_________________________________________________________________ > Want to read Hotmail messages in Outlook? The Wordsmiths show you > how.http://windowslive.com/connect/post/wedowindowslive.spaces.live.com-B... --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---