On Aug 19, 2:36 pm, Jaap <[email protected]> wrote:
> Sorry for the vague term. I mean the main "content" panel of my tab.
> The body in which one displays the content.
Ok, the panel is a node in an HTML document, referenced by
this.panelNode in the panel objects.
> I do already write to it, when a buton is clicked.
> I want to fill it onload.
That would not be the normal Firebug way. You want to avoid any
rendering that the user will not see. In fact your panel will not even
be created until the user selects it for the first time.
Let's assume you don't have any scaling issues, meaning that you can
compute the contents of the panel in < 500ms independent of the web
site size.
Then the simplest solution is implement panel.show(state). This method
is called when your panel is clicked. Just put the logic of the button
in there and you should have a start.
More typically a panel will use show() activate tool bar buttons and
hide() to deactivate them. Typically a panel is assigned datatype, eg
HTML, DOM, or Script. These panel do rendering when the object is sent
to them with select, in their updateSelection() or updateLocation()
methods.
HTH,
jjb
>
> Teun
>
> On Aug 19, 4:52 pm, johnjbarton <[email protected]> wrote:
>
> > On Aug 19, 5:56 am, Jaap <[email protected]> wrote:
>
> > > I'm creating a Firebug add-on (CSS Usage).
> > > How / where do you create the "splash screen" contents?
>
> > What splash screen? We have a splash screen?
>
> > > I tried to put it in the function that extends
> > > Firebug.Module.showPanel but this method does not appear to be called.
>
> > This method is called to inform modules at a panel is selected.
>
> > > Any ideas?
>
> > Once we agree on what a splash screen is, maybe ...
>
> > > Kind regards, Teun
> > > The Netherlands
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Firebug" 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/firebug?hl=en
-~----------~----~----~----~------~----~------~--~---