Index: API.txt
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/live_update/API.txt,v
retrieving revision 1.1
diff -r1.1 API.txt
8c8
< This whole process is (essentially) broken down into two steps:
---
> This whole process is broken down into two steps:
60a61,62
> effectHide -- jquery effect method to use when the target is being hidden (to be updated). Defaults to hide()
> effect
66c68,70
<       'method' => 'after'
---
>       'method' => 'replaceWith'
>       'effectHide' => 'slideUp',
>       'effectShow' => 'slideDown',
71c75,77
< $('#comments').after($data);
---
> $(target).slideUp(function() { 
>   $(this).method($data).slideDown();
> });
Index: live_update.js
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/live_update/live_update.js,v
retrieving revision 1.1
diff -r1.1 live_update.js
33,34c33,37
<           method = state.settings.method || Drupal.settings.live_update.method;
<           liveUpdateContent(contentloc, target, method);
---
>           method = state.settings.method || Drupal.settings.live_update.method || 'replaceWith';
>           effectHide = state.settings.effectHide || Drupal.settings.live_update.effectHide || 'hide';
>           effectShow = state.settings.effectShow || Drupal.settings.live_update.effectShow || 'fadeIn';
> 
>           liveUpdateContent(contentloc, target, method, effectHide, effectShow);
48c51
< function liveUpdateContent(contentloc, target, method) { 
---
> function liveUpdateContent(contentloc, target, method, effectHide, effectShow) { 
51,52c54,55
<     $(target).fadeOut(function() { 
<       $(this)[method](data).fadeIn();
---
>     $(target)[effectHide]('fast', function() { 
>       $(this)[method](data)[effectShow]('slow');
Index: live_update.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/live_update/live_update.module,v
retrieving revision 1.1
diff -r1.1 live_update.module
19,20c19,24
<  *  An array to pass default settings to live_update. Currently we use 'target' for the CSS Selector and the 'method' for the DOM insert/repace method
<  *  
---
>  *  An array to pass default settings to live_update. 
>  *    target => DOM element to update. No default.
>  *    method => How to manipulate the target. Defaults to 'replaceWith'
>  *    effectHide => jquery effect method to hide the DOM element. Defaults to 'hide'.
>  *    effectShow => jquery effect method to show the updated DOM element. Defaults to 'fadeIn'
>  *
44c48,53
<  *  Provide a CSS target and jquery method to live_update on where and how to insert the new content
---
>  *  An array to pass default settings to live_update. 
>  *    target => DOM element to update. No default.
>  *    method => How to manipulate the target. Defaults to 'replaceWith'
>  *    effectHide => jquery effect method to hide the DOM element. Defaults to 'hide'.
>  *    effectShow => jquery effect method to show the updated DOM element. Defaults to 'fadeIn'
> 
