Are you trying to add chrome to the sidebar or just content? For chrome, look at this http://www.mozdev.org/source/browse/~checkout~/deepestsender/src/content/sidebarinstall.js?rev=1.4&content-type=text/plain and this http://www.mozdev.org/source/browse/~checkout~/deepestsender/src/content/install.xul?rev=1.4&content-type=text/plain
Sidebar has to be loaded and open on screen in order for it to work. On 2/20/06, Philip Chee <[EMAIL PROTECTED]> wrote: > I know I can call addPanel() from content using window.sidebar.addPanel(), > but how do I call addPanel from chrome javascript in order to add an item to > the Seamonkey sidebar tabs? I've tried > document.contentWindow.sidebar.addPanel and various combinations of > document/content/window but rather than groping around in a fog, I'd thought > I'd ask here. > > Phil > -- > Philip Chee <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> > http://flashblock.mozdev.org/ http://xsidebar.mozdev.org > Guard us from the she-wolf and the wolf, and guard us from the thief, > oh Night, and so be good for us to pass. > [ ]And eliminate and wipe out redundancy! > * TagZilla 0.059 > _______________________________________________ > Project_owners mailing list > [email protected] > http://mozdev.org/mailman/listinfo/project_owners > _______________________________________________ Project_owners mailing list [email protected] http://mozdev.org/mailman/listinfo/project_owners
