Re: HTML sidebar with XPInstall?

Jeff Klawiter <[email protected]>
Newsgroups gmane.comp.mozilla.devel.xpinstall
Organization Another Netscape Collabra Server User
Message-ID <[email protected]>
Victor Porton wrote:

> I want to make a HTML + Javascript sidebar (better without XUL as I
> don't yet know XUL). The problem is that it needs access privilegies to
> document's content. So just simple adding sidebar doesn't work.
> 
> Can it (a HTML sidebar) be installed with XPInstall without XUL?
> If yes, could you explain how? (How to add sidebar from install.js?)
> 
> Please answer guys, *every* of you will benefit if I will be able to
> make this useful sidebar.

You need to use XUL. It's not that hard. It uses JavaScript for dynamic 
elements and the interface is written in a cross between HTML and XML. Also 
you can use HTML elements for the interface.

Check Out: http://xulplanet.com/tutorials/xultu/

It is a very well written tutorial on how to start making interfaces in 
XUL. Also http://www.hevanet.com/acorbin/xul/top.xul which gives you a 
basic periodic table of XUL elements and the corresponding source code.

Jeff Klawiter
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.