[jQuery] how to implement minimize button

[jQuery] how to implement minimize button


hi...
plzz any one could help me to implement a minimize button in to the
widget along with the close button....so that the particular widgets
height would be decreased ...