fabtafelmak-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2006-Aug-31 15:14 UTC
Treeview based on Prototype
Hi everyone ! I just finished a Treeview component based on Prototype and Scriptaculous. It''s a "Windows-like" treeview with multiple options (events managment, for example). It''s a bit heavy (the file is about 100kb), but it''s not compressed (lot of comments... in french, sorry) The structure is defined in JSON or in UL / LI . And you can serialize the tree at any moment. The serialization returns a JSON string. You can see an example and download it here : http://membres.lycos.fr/tafelmak/arbre.php (in french) And you have a complete documentation here : http://membres.lycos.fr/tafelmak/arbre4.html (half in french, half in english) Bye rekam --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs -~----------~----~----~----~------~----~------~--~---
That''s pretty cool, although the source seems a little heavy (like you said). You might be able to make a small reduction in file size if you use Builder.node() from scriptaculous'' builder.js . http://wiki.script.aculo.us/scriptaculous/show/Builder On 8/31/06, fabtafelmak-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <fabtafelmak-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > > Hi everyone ! > > I just finished a Treeview component based on Prototype and > Scriptaculous. It''s a "Windows-like" treeview with multiple options > (events managment, for example). It''s a bit heavy (the file is about > 100kb), but it''s not compressed (lot of comments... in french, sorry) > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs -~----------~----~----~----~------~----~------~--~---
Very nice. Makes me wish I needed a TreeView. I''ll bookmark this for later reference. Sam --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs -~----------~----~----~----~------~----~------~--~---
fabtafelmak-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:> Hi everyone ! > > I just finished a Treeview component based on Prototype and > Scriptaculous. It''s a "Windows-like" treeview with multiple options > (events managment, for example). It''s a bit heavy (the file is about > 100kb), but it''s not compressed (lot of comments... in french, sorry) > >This looks very good. Is there any chance of getting this in English? I need this right now, but French is a little beyond me. --Will Merrell --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs -~----------~----~----~----~------~----~------~--~---