[Project_owners] Save As... and Open... diagloges

Matthew Wilson matthew at mjwilson.demon.co.uk
Wed Mar 31 20:59:18 EST 2004


HJ wrote:

> "Robin Monks" <mozillaman at linuxmail.org> wrote:
> 
>>Could somebodt tell me how to save and open .html file on a hard disk with diagloges using xul/Javascript in the chrome directory?  I need this for cuneAform.mozdev.org .
> 
> 
> Robin, I'm not sure what the problem is, but have you looked at mozilla's 'Save Page At' source code?
> 
> Also, I don't think it is a good idea to add HTML files to the chrome directory. LOL, why do you think they called it the chrome directory?

I don't agree, HTML in chrome is fine. Nothing about the word "chrome" 
signals "XUL-only" to me.

Matthew



More information about the Project_owners mailing list