Reputation: 1314
I am developing an extension for firefox. I have a panel as follows -
<panel id = "popup_text" width = "300">
Text here
</panel>
This pops up when i click on a label using this code :
<label value="FFWTS" popup="popup_text"/>
I want to make this panel popup automatically, using javascript. How can I do this?
Upvotes: 1
Views: 764
Reputation: 57651
You use panel.openPopup() or panel.openPopupAtScreen(), e.g.:
document.getElementById("popup_text").openPopupAtScreen(200, 200, false);
Upvotes: 1