Daiksuke-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Aug-13 09:27 UTC
Fading AND internal link scrolls
Goodday. I''ve been trying to get the following to work: When you open my page, you''ll only see the menu. When you click on one of the links, it will smoothly scroll while the div it is scrolling to fades in. I''ve got all the elements to work, but not together. The problem is that it tries to scroll towards the div while it is still on Display:none. How can I modify the Appear and Fade commands so that it will go to Opacity: 0.0; instead of Display: none;, when it has faded out? Thanks in advance, Matt. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Use Effect.Morph or Effect.Opacity instead. http://wiki.script.aculo.us/scriptaculous/show/Effect.Morph http://wiki.script.aculo.us/scriptaculous/show/Effect.Opacity TAG On Aug 13, 2007, at 3:27 AM, Daiksuke-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:> > Goodday. > I''ve been trying to get the following to work: > When you open my page, you''ll only see the menu. > When you click on one of the links, it will smoothly scroll > while the div it is scrolling to fades in. > > I''ve got all the elements to work, but not together. > The problem is that it tries to scroll towards the div > while it is still on Display:none. > How can I modify the Appear and Fade commands > so that it will go to Opacity: 0.0; instead of Display: none;, > when it has faded out? > > Thanks in advance, > Matt. > > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Daiksuke-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Aug-14 15:09 UTC
Re: Fading AND internal link scrolls
Thanks for the reply, this is indeed what I was looking for. On Aug 13, 5:18 pm, Tom Gregory <t...-PGZyUNKar/Q@public.gmane.org> wrote:> Use Effect.Morph or Effect.Opacity instead. > > http://wiki.script.aculo.us/scriptaculous/show/Effect.Morphhttp://wiki.script.aculo.us/scriptaculous/show/Effect.Opacity > > TAG > > On Aug 13, 2007, at 3:27 AM, Daiks...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote: > > > > > Goodday. > > I''ve been trying to get the following to work: > > When you open my page, you''ll only see the menu. > > When you click on one of the links, it will smoothly scroll > > while the div it is scrolling to fades in. > > > I''ve got all the elements to work, but not together. > > The problem is that it tries to scroll towards the div > > while it is still on Display:none. > > How can I modify the Appear and Fade commands > > so that it will go to Opacity: 0.0; instead of Display: none;, > > when it has faded out? > > > Thanks in advance, > > Matt.--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---