[jQuery] Flickering problem with Interface Slide in FF2

[jQuery] Flickering problem with Interface Slide in FF2

Hi everyone,
I am trying to get an image to slide out and then back in again.
Eventually, I will be displaying a new image with each rotation of the
slider. Unfortunately, there seems to be an issue in Firefox 2 were the
image is briefly displayed before it slides back in. This shows up as a
quick flicker.
I know there have been a few posts with similar problems... I was just
wondering if anyone found a solution. Perhaps I am just going about it
the wrong way.
Here is an example:
<a class="moz-txt-link-freetext" href="http://www.xrag.com/testing/animate/">http://www.xrag.com/testing/animate/</a>
Code:
     $(document).ready( function() {
        $("#testit").click(function() {
           $("#foo").SlideToggleRight(2000, foo(), 'easeboth');
           return false;
        });
     });
     function foo()
     {
        $("#foo").SlideToggleRight(2000, null, 'easeboth');
        return false;
     }
Thank you in advance.
- Jim
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/