Minimize Pop-up

Hello All,
I have a pop-up window with a close button and a minimize button,I
want to know if there is a way of writing an action for minimizing the
pop-up using Rails or does javascript need to be used here?
On minimizing ,I want the pop-up to appear on the taskbar and on
clicking the taskbar the popup should be restored.

Thanks in advance.

Regards
Chandrika

Hello All,
I have a pop-up window with a close button and a minimize button,I
want to know if there is a way of writing an action for minimizing the
pop-up using Rails or does javascript need to be used here?
On minimizing ,I want the pop-up to appear on the taskbar and on
clicking the taskbar the popup should be restored.

That is not Rails. That is a JavaScript pop up followed by your standard browser behavior.

B.