onAfterLoadingItems is fired after the items are loaded into the database, but before the page is actually rendered, which could be a problem for calculating heights. ex:onshow fires when an single item is rendered in a lens, also probably not what you want. I'll try to find time to dig up the "right" event later.

On 11/9/2011 11:45 AM, Brice Sommacal wrote:
The easiest way to get rid of this was by adding a setTimeout("parent.calcHeight();",3000); For informations, using onAfterLoadingItems or ex:show to call this method did not resize the page.

Brice

2011/11/9 Brice Sommacal <[email protected] <mailto:[email protected]>>

    Hello,

    I would like to execute a method when all items are loaded. THe
    aim of this method is to calculate the IFrame height.

    I think of using onAfterLoadingItems event but don't know where I
    have to call it.
    Any help would be greatly appreciated.

    Data are collected from a exhibit/data JSONP format.

    Regards,


    Brice


--
You received this message because you are subscribed to the Google Groups "SIMILE Widgets" 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/simile-widgets?hl=en.

--
You received this message because you are subscribed to the Google Groups "SIMILE 
Widgets" 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/simile-widgets?hl=en.

Reply via email to