Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Can't load a chrome image in Firefox Panel

1 view
Skip to first unread message

mahart

unread,
Oct 29, 2009, 5:23:23 PM10/29/09
to
Hello all,

I created a Panel in my firefox extension and would like to embed a
chrome image. Here's the code:

<panel id="thepanel" noautohide="true">
<image src="chrome://blank/content/prompt-3.jpg" />
</panel>

If the image is http, works fine. Image url is correct. Is the panel
not trusted? How can I get this to work correctly.

mahart

unread,
Oct 29, 2009, 5:46:22 PM10/29/09
to
OK, so i sort of figured it out. The code i originally used called
the panel.openPopup method which does not load chrome. When I used
openPopupAtScreen, it works fine. Any ideas why this is? Thanks!
0 new messages