you can observe the window to load and set a timeout to execute Effect.Fade
Regards Alex ----- Original Message ----- From: <[EMAIL PROTECTED]> To: "Prototype & script.aculo.us" <prototype-scriptaculous@googlegroups.com> Sent: Thursday, November 06, 2008 2:34 PM Subject: [Proto-Scripty] Setting a <div> to "decay" on page load? > > Not quite sure how to phrase this. I am a new scriptaculous user, I > am comfortable using scriptaculous and prototype when I use the demos > as a basis for what I am doing. However, I am working on adding ajax > capabilities into a CMS that I have built. In some instances I have > set a <div> with a "notification" value after posting a form etc... > How would I set a "decay" time on this <div> using scriptaculous so > that it gradually fades to display: none after the initial page load? > Is ther an onLoad ability? > > Thanks, > Ryan > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---