Source Code |
Current SnapShot (zip) |
Welcome to Snippets! Snippets is a Mozilla project who's goal is to capture and reuse code snippets of XUL, JS, CSS, etc which developers happen to have spent some time creating, but are not really worth their own "project". For example, there is some code which you could use as a "wrapper" to make your XUL app installable, or to create a simple draggable element using <bulletinboard>. Everything is welcome here! Think of this as your place to drop off your recyclables and to pick up some gems!
The real goal here is to get the creative juices flowing. One person makes a simple file, another refines it, another changes it to make something else, and on and on!
All snippets will be put in CVS for updates and fixes. Dont be embarrassed! Send your code today.
Right now email me at firstname.lastname@example.org
I have every intention of getting many more people working on this, so if you feel you'd like to help manage the CVS and code snippets, email me today.
Here is the new mailing list.
|What's New 03/26/01|
Updated the installable sidebar component. Please email me if you have problems with it. Also added a new link which is a ZIP file dump of the current tree.
|What's New 02/15/01|
Added new user-stylesheet snippet: link floater. It creates a floating panel on any site you visit and culls the links off that site into a handy list. It's a demo of making chrome-like tools that live in the DOM of the site you visit.
|What's New 02/02/01|
Added three new snippets - See contributors below for details
Robert Kaiser <KaiRo@KaiRo.at> - An example of a working xul+rdf(+js+css) sidebar panel
Pete Collins <email@example.com> - js code for setting a pref.
Andrew Wooldridge <firstname.lastname@example.org> -1) XUL application using js I/O to write to a User-Stylesheet; 2)Flash in XUL example using user-stylesheets and XBL.