Here is some lovely content!
//DOM loaded $(document).ready(function() {
//attach click event to buttons $('.button-show').click(function(){
/** * when show button is clicked we call the show plugin * which scales the box to default size * You can try other effects from here: http://jqueryui.com/effect/ */ $("#box").show("scale", 500);
});
$('.button-hide').click(function(){
//same thing happens except in this case we hide the element $("#box").hide("scale", 500);
}); });