$('was_helpfull').visualEffect('fade', {
  afterFinish: function() {
    $('thanks').visualEffect('appear');
  }
);

and

<div id="was_helpfull">...</div>
<div id="thanks" style="display: none;">...</div>

Should do it

On 11/26/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I am a complete newbie to JavaScript, but for my site, I would love to
> have a "was this helpful?" button, that when clciked would fade out and
> be replaced by another image, saying "thanks for your vote!"
>
>
> Anybody have any ideas?
>
>
>
> You help is appreciatted, and thanks in advance!
>
> Iain
>
>
> >
>


-- 
burnfield.com/martin

--~--~---------~--~----~------------~-------~--~----~
 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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to