I created a test Firebug panel and run the expression in initialize
method, works for me.
Honza
var panelName = "helloworld";
function MyPanel() {}
MyPanel.prototype = FBL.extend(Firebug.Panel,
{
name: panelName,
title: "Hello World!",
initialize: function()
{
Firebug.Panel.initialize.apply(this, arguments);
FBTrace.sysout("height: " +
document.getElementById("fbMainFrame").height);
},
});
Firebug.registerPanel(MyPanel);
--
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.