Hiding the initial state of AJAZy partials.

I am new to Rails, Ruby and AJAX, but I'm getting there.

I am working on a tutorial project from AWDwR. Its a simple shopping cart app in which I'm displaying a shopping cart right in the main layout by redering a partial for the cart, which in turn renders a collection of partials for each product in the cart. When a product is added, I'm using an rjs template to hit the new/affected cart item partial with some AJAX effects.

When using the visual_effect grow, the partial is rendered at full size, then immediately shrinks and grows into place causing some ugly flickering. The book suggests figuring out how to hide the initial state, but I can't figure out how!

on the html tag for whichever thing you are wanting to hide put style="display: none"