FF extension: displaying an array of string elements in a sidebar

Posted by sujay-jain on Stack Overflow See other posts from Stack Overflow or by sujay-jain
Published on 2010-05-21T06:24:00Z Indexed on 2010/05/30 1:52 UTC
Read the original article Hit count: 254

I am developing a ff extension which displays a list of elements from an array (dynamic) in the sidebar. The array is dynamic and needs to be constructed in a function everytime the sidebar is opened (or any other event handler). Later, i will need to implement link functionality on parts of the string. What is the best way to go about this?

I have created an empty sidebar and just know the label element as of now. menu, and menuitem dont work. What other elements can i use to display text in a good way which supports dynamic contruction.

Is there some good tutorial/sample extension which i can see and learn?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about firefox