how to create popup panel in mozilla firefox?
Posted
by
user495688
on Stack Overflow
See other posts from Stack Overflow
or by user495688
Published on 2011-01-06T06:38:13Z
Indexed on
2011/01/07
5:53 UTC
Read the original article
Hit count: 221
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..:)
© Stack Overflow or respective owner