Thanks for your reply.
But i think that i made a wrong explanation.
What i need is, after a person click on "add 2 cart" a model window appear saying "your shopping cart has 1 item" and dissapear after 2 seconds.
I have the modal window function, i just dont know where to call it, on button click, or (it would be better) after the page refresh to show one item in shopping cart.
I need this because in some projects i made, the user doesnt see any diference after click "add 2 cart", because the page is so fast. And with a modal window, the user is alerted that he put that item in his shopping cart.
Thanks in advance.