Re: Any way to have a panel pop up on load?
[email protected] Wed, 15 Jan 2014 06:46:31 -0800 (PST)
| Newsgroups | gmane.comp.mozilla.devel.xpfe |
|---|---|
| Message-ID | <[email protected]> |
Never mind. Got it now. Was so blatantly easy, I wonder what went wrong before.
<script type="text/javascript">
function f() {
document.getElementById('thepanel').openPopupAtScreen(250, 250, true)
}
</script>
and then, inside the window tag
onload="f()"
Weird that simply saying onload="document.getElementById('thepanel').openPopupAtScreen(250, 250, true)"
wouldn't work, but I digres.