Walmart like "Add to cart" script
I am looking for "Add to cart" functionality just like walmart have. You click "add to cart", page scrolls up and just below the "Cart" button you get ajax based popup which shows you your cart contents. Popup is above the all content. Can you please help me by sharing code snippet or any use tutorial link to achieve this?