how to create popup panel in mozilla firefox?
- by user495688
hello all..
i want to ask something about popup ..
how to create popup panel in my addons to show text when users click context menu?
the popup panel will execute javascript function inlinetrans.process() to show the result of inlinetrans process.
this is my code to show context menu :
<popup id="contentAreaContextMenu">
<menuseparator />
<menuitem id="inlinetransContextMenuPage"
label="Terjemahkan dengan inlinetrans"
image="chrome://inlinetrans/skin/imagesOn.png"
class="menuitem-iconic"
hidden="false"
onclick="inlinetrans.process();"/>
</popup>
i want to create pop up like this http://abcdefu.wordpress.com/2008/07/25/writing-beautiful-ui-with-xul/
i don't need text box but i need to display my result of translation, what should i do?
thank you for helping me..:)