I want to make the kuick effect with prototype and scriptaculous like mootools does in his wiki: http://wiki.mootools.net/ (enter the mouse in the colored boxes with the texts "download", "the docs", "the blog" and "keep trac") Anyone knows about somebody that made this before? -- Julio Carlos Menéndez GNU/Linux User #403551 http://deltha.uh.cu/~juliocarlos
Isn''t that like a Effect.Move on the current div? On Dec 11, 2007 4:45 PM, Julio Carlos Menéndez <juliocarlos-70/qqqu8D0M@public.gmane.org> wrote:> I want to make the kuick effect with prototype and scriptaculous like > mootools does in his wiki: http://wiki.mootools.net/ > (enter the mouse in the colored boxes with the texts "download", "the > docs", "the blog" and "keep trac") > Anyone knows about somebody that made this before? > -- > Julio Carlos Menéndez > GNU/Linux User #403551 > http://deltha.uh.cu/~juliocarlos <http://deltha.uh.cu/%7Ejuliocarlos> >--~--~---------~--~----~------------~-------~--~----~ 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 haven''t used to much scriptaculous. Can you send me an example? Thanks a lot in advance. On Tue, 11 Dec 2007 20:57:50 +0000 "Antonio CS" <antoniocs-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Isn''t that like a Effect.Move on the current div? > > On Dec 11, 2007 4:45 PM, Julio Carlos Menéndez <juliocarlos-70/qqqu8D0M@public.gmane.org> > wrote: > > > I want to make the kuick effect with prototype and scriptaculous > > like mootools does in his wiki: http://wiki.mootools.net/ > > (enter the mouse in the colored boxes with the texts "download", > > "the docs", "the blog" and "keep trac") > > Anyone knows about somebody that made this before? > > -- > > Julio Carlos Menéndez > > GNU/Linux User #403551 > > http://deltha.uh.cu/~juliocarlos > > <http://deltha.uh.cu/%7Ejuliocarlos> > > > > --~--~---------~--~----~------------~-------~--~----~ > 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 > -~----------~----~----~----~------~----~------~--~--- >-- Julio Carlos Menéndez GNU/Linux User #403551 http://deltha.uh.cu/~juliocarlos
woutawizz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Dec-12 12:59 UTC
Re: kuick effect like mootools does
I don''t think this is don with Effect.Move since the boxes get their width modified... I think a combo of Effect.Parallel and Effect.Morph would do the trick for you: new Effect.Parallel( [ new Effect.Morph(''box1'', { style:{ width:''185px'' }, sync: true }), new Effect.Morph(''box2'', { style:{ width:''105px'' }, sync: true }) ], { duration: 0.5 } ); This is just a quick sample of how to use them... it''s up to you how to make this work with multiple ''boxes''. Greetz, Wizz On 11 dec, 23:39, Julio Carlos Menéndez <juliocar...-70/qqqu8D0M@public.gmane.org> wrote:> I haven''t used to much scriptaculous. Can you send me an example? > Thanks a lot in advance. > > On Tue, 11 Dec 2007 20:57:50 +0000 > > > > "Antonio CS" <antoni...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > Isn''t that like a Effect.Move on the current div? > > > On Dec 11, 2007 4:45 PM, Julio Carlos Menéndez <juliocar...-70/qqqu8D0M@public.gmane.org> > > wrote: > > > > I want to make the kuick effect with prototype and scriptaculous > > > like mootools does in his wiki:http://wiki.mootools.net/ > > > (enter the mouse in the colored boxes with the texts "download", > > > "the docs", "the blog" and "keep trac") > > > Anyone knows about somebody that made this before? > > > -- > > > Julio Carlos Menéndez > > > GNU/Linux User #403551 > > >http://deltha.uh.cu/~juliocarlos > > > <http://deltha.uh.cu/%7Ejuliocarlos> > > > > > -- > Julio Carlos Menéndez > GNU/Linux User #403551http://deltha.uh.cu/~juliocarlos > > signature.asc > 1KDownloaden--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---