Let's do something in jQuery:
Div's contents here
Now, you need just use the code below to do what you want:
Notice: you can have some properties for hide() function: Fast and slow. This will affect on the speed of hiding action.
$("#myDiv").hide("slow");
I hope this can help you.