Hello,
[EMAIL PROTECTED] a écrit :
> I can get the new content to update without issue. To make it look
> pretty, I would like it to fade in or Appear. But it looks like I'm
> missing something.
>
> <a href="#" onClick="new Ajax.Updater('swapper', 'test2.html',
> {onSuccess: function() {Effect.Appear('swapper', { duration:
> 2.0 });}, }); return false; ">
Can you check that your callback is actually called, e.g. with a
console.log in Firebug, or an alert?
Then try with putting a 'new' before Effect.Appear (which is best
practice anyhow).
--
Christophe Porteneuve aka TDD
[EMAIL PROTECTED]
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---