[Project_owners] Grids

Onno Ekker o.e.ekker at gmail.com
Thu Jul 3 13:35:28 PDT 2008


Onno Ekker wrote:
> Neil wrote:
>> Onno Ekker wrote:
>>
>>> DOM looks like this (from the top of my head):
>>> <grid>
>>> <columns><column/><column/></columns>
>>
>> Yes, but these <column/> elements should have the correct width (and 
>> the same height as the grid).
> It's most probably a timing issue: I try to calculate the width before 
> the window is actually displayed. When I inspect the window later on 
> with DOMi it displays the right widths for the columns.
>
> Now let's see how I can activate the javascript after the width is 
> calculated....
First, with width=0, I had added onload handler to my prefpane.
After changing this to the window everything works fine.
Thank for the help.

Onno


More information about the Project_owners mailing list