same problem here .eventhough i call gadgets.window.adjustHeight().it is not
working for me .requestSendMessage not working ,sending stream are not
working .i am always getting "a is undefined error "
On Fri, Nov 21, 2008 at 2:21 PM, Prashant PatilĀ <
[EMAIL PROTECTED]> wrote:
> chk for this!
> <Require feature="dynamic-height"/>
> else post your app so thats good to give solution!
>
>
> On Fri, Nov 21, 2008 at 2:15 PM, [EMAIL PROTECTED] <
> [EMAIL PROTECTED]> wrote:
>
>>
>> Hi,
>> From yesterday my applications have just stopped resizing..the resize
>> function that i am using is ..
>> gadgets.window.adjustHeight = function(opt_height)
>> {
>>
>> var newHeight = parseInt(opt_height, 10);
>> if (isNaN(newHeight))
>> {
>> var vh = gadgets.window.getViewportDimensions().height;
>> var body = document.body;
>> var docEl = document.documentElement;
>> if (document.compatMode == 'CSS1Compat' &&
>> docEl.scrollHeight)
>> {
>> newHeight = docEl.scrollHeight != vh ?
>> docEl.scrollHeight : docEl.offsetHeight;
>> }
>> else
>> {
>> var sh = docEl.scrollHeight;
>> var oh = docEl.offsetHeight;
>> if (docEl.clientHeight != oh)
>> {
>> sh = body.scrollHeight;
>> oh = body.offsetHeight;
>> }
>>
>> if (sh > vh)
>> {
>> newHeight = sh > oh ? sh : oh;
>> }
>> else
>> {
>> newHeight = sh < oh ? sh : oh;
>> }
>> }
>> }
>>
>> if (newHeight != oldHeight)
>> {
>> oldHeight = newHeight;
>> var p = opensocial.Container.get().params_;
>> _IFPC.call(
>> p.panelId,
>> "resizeWidget",
>> [p.panelId , opt_height],
>> p.remoteRelay,
>> null,
>> p.localRelay,
>> null);
>> }
>> };
>> }());
>> can any body tell me wats wrong in this...
>> Please Replay As Soon As Possible..
>>
>>
>>
>>
>
>
> --
> With best Regards.
> Prashant aka Orkuteer
> http://en.blog.orkut.com/2007/11/thanks-from-orkuteer.html
>
>
> >
>
--
Sekhar
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---