Hi, my current wish is to add the following feature to a page layout (based on the JSF component library Richfaces) with some different areas (for example tab panels): You can go with the mouse between two panels and make one smaller (and the other one bigger) with drag & drop. A couple of Javascript libraries exists which can do that. For example extJS or DOJO or this: http://www.eclipse.org/rap/demos.php To make clear what I want look at http://extjs.com/deploy/dev/examples/window/layout.html click on "open window", go with the mouse between navigation and main area. The problem is, that I don''t want to integrate such big libraries due to some reasons - and scriptaculous is already integrated in our environment. So I tried to use the slider for this task - but I get it not worked until now. By the way I posted this in the discussion area of the slider on the scriptaculous page and destroyed the layout there with posting the code I already have :-( I couldn''t find an admin email address...is here anybody knowing one or have the rights to fix that? Anyway, how can I post code here? Thanks, F. Marwede --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
On Jan 14, 8:54 am, fmarwede <fmarw...-L7WjSahfon6ELgA04lAiVw@public.gmane.org> wrote:> Hi, > my current wish is to add the following feature to a page layout > (based on the JSF component library Richfaces) with some different > areas (for example tab panels): > > You can go with the mouse between two panels and make one smaller (and > the other one bigger) with drag & drop. > > A couple of Javascript libraries exists which can do that. For example > extJS or DOJO or this: > > http://www.eclipse.org/rap/demos.php > > To make clear what I want look at > > http://extjs.com/deploy/dev/examples/window/layout.html > > click on "open window", go with the mouse between navigation and main > area. > > The problem is, that I don''t want to integrate such big libraries due > to some reasons - and scriptaculous is already integrated in our > environment. So I tried to use the slider for this task - but I get it > not worked until now. > > By the way I posted this in the discussion area of the slider on the > scriptaculous page and destroyed the layout there with posting the > code I already have :-( I couldn''t find an admin email address...is > here anybody knowing one or have the rights to fix that? > > Anyway, how can I post code here? > > Thanks, > F. MarwedeTo be honest, it''s not that difficult to do it with prototype alone. I think I did it one time for a north/south panel kinda thing, but I can''t seem to find it. I''ll see if I can whip something up for you. Greetz, Wizz --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
On Jan 14, 9:29 am, Wizz <woutaw...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Jan 14, 8:54 am, fmarwede <fmarw...-L7WjSahfon6ELgA04lAiVw@public.gmane.org> wrote: > > > > > Hi, > > my current wish is to add the following feature to a page layout > > (based on the JSF component library Richfaces) with some different > > areas (for example tab panels): > > > You can go with the mouse between two panels and make one smaller (and > > the other one bigger) with drag & drop. > > > A couple of Javascript libraries exists which can do that. For example > > extJS or DOJO or this: > > >http://www.eclipse.org/rap/demos.php > > > To make clear what I want look at > > >http://extjs.com/deploy/dev/examples/window/layout.html > > > click on "open window", go with the mouse between navigation and main > > area. > > > The problem is, that I don''t want to integrate such big libraries due > > to some reasons - and scriptaculous is already integrated in our > > environment. So I tried to use the slider for this task - but I get it > > not worked until now. > > > By the way I posted this in the discussion area of the slider on the > > scriptaculous page and destroyed the layout there with posting the > > code I already have :-( I couldn''t find an admin email address...is > > here anybody knowing one or have the rights to fix that? > > > Anyway, how can I post code here? > > > Thanks, > > F. Marwede > > To be honest, it''s not that difficult to do it with prototype alone. I > think I did it one time for a north/south panel kinda thing, but I > can''t seem to find it. I''ll see if I can whip something up for you. > > Greetz, > > WizzNow I think of it... why don''t you use the extjs layout? They have a version of extjs that works with prototype and scriptaculous and it is entirely modular. It wouldn''t be that hard to find out which pieces you need to create a standalone version for yourself. --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
Hmm....I already tried that - spending 3-4 hours on that and then I decide to try getting an easier solution ;-) The problem is the extraction only of this little feature - everything else of the GUI should come from the JSF framework. But perhaps I found something on my own: http://13thparallel.com/archive/sig-slots/ Seems to be that this could be a solution for me...what do you think? Thank you very much! On Jan 14, 11:15 am, Wizz <woutaw...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Jan 14, 9:29 am, Wizz <woutaw...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > On Jan 14, 8:54 am, fmarwede <fmarw...-L7WjSahfon6ELgA04lAiVw@public.gmane.org> wrote: > > > > Hi, > > > my current wish is to add the following feature to a page layout > > > (based on the JSF component library Richfaces) with some different > > > areas (for example tab panels): > > > > You can go with the mouse between two panels and make one smaller (and > > > the other one bigger) with drag & drop. > > > > A couple of Javascript libraries exists which can do that. For example > > > extJS or DOJO or this: > > > >http://www.eclipse.org/rap/demos.php > > > > To make clear what I want look at > > > >http://extjs.com/deploy/dev/examples/window/layout.html > > > > click on "open window", go with the mouse between navigation and main > > > area. > > > > The problem is, that I don''t want to integrate such big libraries due > > > to some reasons - and scriptaculous is already integrated in our > > > environment. So I tried to use the slider for this task - but I get it > > > not worked until now. > > > > By the way I posted this in the discussion area of the slider on the > > > scriptaculous page and destroyed the layout there with posting the > > > code I already have :-( I couldn''t find an admin email address...is > > > here anybody knowing one or have the rights to fix that? > > > > Anyway, how can I post code here? > > > > Thanks, > > > F. Marwede > > > To be honest, it''s not that difficult to do it with prototype alone. I > > think I did it one time for a north/south panel kinda thing, but I > > can''t seem to find it. I''ll see if I can whip something up for you. > > > Greetz, > > > Wizz > > Now I think of it... why don''t you use the extjs layout? They have a > version of extjs that works with prototype and scriptaculous and it is > entirely modular. It wouldn''t be that hard to find out which pieces > you need to create a standalone version for yourself.--~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
I found extjs didnt play nice with prototype 1.6, even with the adapter. On Jan 14, 2008 11:41 PM, fmarwede <fmarwede-L7WjSahfon6ELgA04lAiVw@public.gmane.org> wrote:> > Hmm....I already tried that - spending 3-4 hours on that and then I > decide to try getting an easier solution ;-) > > The problem is the extraction only of this little feature - everything > else of the GUI should come from the JSF framework. > > But perhaps I found something on my own: > > http://13thparallel.com/archive/sig-slots/ > > Seems to be that this could be a solution for me...what do you think? > > Thank you very much! > > > On Jan 14, 11:15 am, Wizz <woutaw...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > On Jan 14, 9:29 am, Wizz <woutaw...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > > > > On Jan 14, 8:54 am, fmarwede <fmarw...-L7WjSahfon6ELgA04lAiVw@public.gmane.org> wrote: > > > > > > Hi, > > > > my current wish is to add the following feature to a page layout > > > > (based on the JSF component library Richfaces) with some different > > > > areas (for example tab panels): > > > > > > You can go with the mouse between two panels and make one smaller > (and > > > > the other one bigger) with drag & drop. > > > > > > A couple of Javascript libraries exists which can do that. For > example > > > > extJS or DOJO or this: > > > > > >http://www.eclipse.org/rap/demos.php > > > > > > To make clear what I want look at > > > > > >http://extjs.com/deploy/dev/examples/window/layout.html > > > > > > click on "open window", go with the mouse between navigation and > main > > > > area. > > > > > > The problem is, that I don''t want to integrate such big libraries > due > > > > to some reasons - and scriptaculous is already integrated in our > > > > environment. So I tried to use the slider for this task - but I get > it > > > > not worked until now. > > > > > > By the way I posted this in the discussion area of the slider on the > > > > scriptaculous page and destroyed the layout there with posting the > > > > code I already have :-( I couldn''t find an admin email address...is > > > > here anybody knowing one or have the rights to fix that? > > > > > > Anyway, how can I post code here? > > > > > > Thanks, > > > > F. Marwede > > > > > To be honest, it''s not that difficult to do it with prototype alone. I > > > think I did it one time for a north/south panel kinda thing, but I > > > can''t seem to find it. I''ll see if I can whip something up for you. > > > > > Greetz, > > > > > Wizz > > > > Now I think of it... why don''t you use the extjs layout? They have a > > version of extjs that works with prototype and scriptaculous and it is > > entirely modular. It wouldn''t be that hard to find out which pieces > > you need to create a standalone version for yourself. > > >--~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
You can get pretty far with prototype alone, even without ever touching scriptaculous. I remember myself scrapping up a lasso for a calendar grid in my spare time with just prototype. Some pointers that i realised until late when i realized i reinveted the wheel inside the drag and drop algorythm: Event.pointerX(event) and Event.pointerY(event) is your friend :) - as well as the whole http://www.prototypejs.org/api/event page. On 14 Jan., 21:56, "Gareth Evans" <agr...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I found extjs didnt play nice with prototype 1.6, even with the adapter. > > On Jan 14, 2008 11:41 PM, fmarwede <fmarw...-L7WjSahfon6ELgA04lAiVw@public.gmane.org> wrote: > > > > > Hmm....I already tried that - spending 3-4 hours on that and then I > > decide to try getting an easier solution ;-) > > > The problem is the extraction only of this little feature - everything > > else of the GUI should come from the JSF framework. > > > But perhaps I found something on my own: > > >http://13thparallel.com/archive/sig-slots/ > > > Seems to be that this could be a solution for me...what do you think? > > > Thank you very much! > > > On Jan 14, 11:15 am, Wizz <woutaw...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > On Jan 14, 9:29 am, Wizz <woutaw...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > On Jan 14, 8:54 am, fmarwede <fmarw...-L7WjSahfon6ELgA04lAiVw@public.gmane.org> wrote: > > > > > > Hi, > > > > > my current wish is to add the following feature to a page layout > > > > > (based on the JSF component library Richfaces) with some different > > > > > areas (for example tab panels): > > > > > > You can go with the mouse between two panels and make one smaller > > (and > > > > > the other one bigger) with drag & drop. > > > > > > A couple of Javascript libraries exists which can do that. For > > example > > > > > extJS or DOJO or this: > > > > > >http://www.eclipse.org/rap/demos.php > > > > > > To make clear what I want look at > > > > > >http://extjs.com/deploy/dev/examples/window/layout.html > > > > > > click on "open window", go with the mouse between navigation and > > main > > > > > area. > > > > > > The problem is, that I don''t want to integrate such big libraries > > due > > > > > to some reasons - and scriptaculous is already integrated in our > > > > > environment. So I tried to use the slider for this task - but I get > > it > > > > > not worked until now. > > > > > > By the way I posted this in the discussion area of the slider on the > > > > > scriptaculous page and destroyed the layout there with posting the > > > > > code I already have :-( I couldn''t find an admin email address...is > > > > > here anybody knowing one or have the rights to fix that? > > > > > > Anyway, how can I post code here? > > > > > > Thanks, > > > > > F. Marwede > > > > > To be honest, it''s not that difficult to do it with prototype alone. I > > > > think I did it one time for a north/south panel kinda thing, but I > > > > can''t seem to find it. I''ll see if I can whip something up for you. > > > > > Greetz, > > > > > Wizz > > > > Now I think of it... why don''t you use the extjs layout? They have a > > > version of extjs that works with prototype and scriptaculous and it is > > > entirely modular. It wouldn''t be that hard to find out which pieces > > > you need to create a standalone version for yourself.--~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---