Why would you need to absolutize and clone position ?

Something like this should do the trick (untested)

new Ajax.Updater('foo_id', url, {
  onSuccess: function() {
    $('foo_id').setOpacity(0).appear();
  }
})


On Sep 4, 10:14 am, trigan <[EMAIL PROTECTED]> wrote:
> Hi,
>
> i wonder if there is a simple way to have the following functionality:
>
> * Ajax.updater calls a partial html for 'foo_id'
> * the new content will Fade in at 'foo_id'
>
> For now  the only way i found was to update a hidden div, absolutize,
> clone position and than Fade.
>
> Is ther a build in way that i am missing ??
>
> Best
> T


--~--~---------~--~----~------------~-------~--~----~
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