views:

24

answers:

1

i am trying to write my first hello world extension for firefox.

its working fine, but i also want to display image in status bar & image is not displaying.

my folder structure are as follows

  helloworld
            chrome.manifest
            icon.png
            install.rdf
            ->chrome
                    ->content
                      sample.xul
                     ->icons
                       hpsched18.png

-> shows folder in above example

bellow is my XUL code

src="chrome://sample/chrome/content/icons/hpsched18.png" tooltiptext="Hello Word Tool Tip" />

every thing work fine, status bar, messages, tool tip only image which is in

helloworld\chrome\icons

folder does not display on status bar.

any help for that? may be i am writing wrong code or path etc. but application name is sample

Thanks

+1  A: 

Try:

src="chrome://sample/content/icons/hpsched18.png" tooltiptext="Hello Word Tool Tip" />
Erik Vold