He there, i just found out about "scriptaculouse". Great one. I have a question to "Effect.toggle". How do i make it, that the div which toggles in and out is NOT visible, when i 1st load the page? I refer to this code: http://github.com/madrobby/scriptaculous/wikis/effect-toggle --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Please post your further inquiries to the new group: http://groups.google.com/group/prototype-scriptaculous prototype-scriptaculous-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org slein a écrit :> How do i make it, that the div which toggles in and out is NOT > visible, when i 1st load the page?Add an inline style="display: none;" to your markup for it. This is the only proper way to initially hide elements for Proto/Scripty-based effects and togglers. -- Christophe Porteneuve aka TDD tdd-x+CfDp/qHev2eFz/2MeuCQ@public.gmane.org --~--~---------~--~----~------------~-------~--~----~ 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 16 Jul., 16:17, Christophe Porteneuve <t...-x+CfDp/qHev2eFz/2MeuCQ@public.gmane.org> wrote:> Please post your further inquiries to the new group: > > http://groups.google.com/group/prototype-scriptaculous > prototype-scriptaculous-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > > slein a écrit : > > > How do i make it, that the div which toggles in and out is NOT > > visible, when i 1st load the page? > > Add an inline style="display: none;" to your markup for it. This is the > only proper way to initially hide elements for Proto/Scripty-based > effects and togglers. > > -- > Christophe Porteneuve aka TDD > t...-x+CfDp/qHev2eFz/2MeuCQ@public.gmane.orgTHANK YOU! Works great! (and was so simple) Next time i use my brain right away =) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---