It's a bit of a hack, but in OutSidebar I hooked the toggleSidebar function.
http://www.mozdev.org/source/browse/outsidebar/src/chrome/content/outsidebar/outsideBar.js?rev=1.1&content-type=text/x-cvsweb-markup
Curtis
On 12/17/06, Brian King <[EMAIL PROTECTED]> wrote:
[Firefox Sidebar]
I can find out when my content is loading using:
document.getElementById("sidebar").addEventListener("DOMContentLoaded",
myFunction, false);
However, onclose and onunload on the content loaded in does not work. Is
there is a way to find out when the sidebar is closing? Preferably the
solution determines all cases (x button being clicked, some other
content taking the place of your content, Firefox closing).
--
Brian King
www.mozdev.org - free project hosting for the Mozilla community
_______________________________________________
Project_owners mailing list
[email protected]
http://mozdev.org/mailman/listinfo/project_owners
--
Curtis Duhn
[EMAIL PROTECTED]
_______________________________________________
Project_owners mailing list
[email protected]
http://mozdev.org/mailman/listinfo/project_owners