Hi there people! I'm new to mootools and javascript so here I go:
In my site here: http://goo.gl/jeh1h if you press the Add to Cart button, you'll see that it updates the cart's content (left sidebar). What I want to do is to add an additional effect, similar to this one: http://goo.gl/YY8mz (press the blue button). I'm talking about the div (on the image) that moves onto the other div (on the cart). My form's code is this: *<form action="http://e-bath.net/index.php" method="post" name="addtocart" id="addtocart_4f2bdf6acd096" class="addtocart_form" onsubmit="handleAddToCart( this.id );return false;">* and the JS file that does the work is this <https://gist.github.com/1730180>. In this file is contained the handleAddToCart() method and the method that updates the cart's content. I guess I have to create an additional method for this effect and call it like updateMiniCarts() is called? Any idea on how to achieve this effect? Thanks in advance :)
