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

Sent from my iPhone

On May 31, 2011, at 5:33 AM, Chandu80 [email protected] wrote:

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.

Use javascript window.open which will help you to restore, close,
minimize, maximize your popup.

http://prototype-window.xilinus.com/samples.html

http://swip.codylindley.com/popupWindowDemo.html

Regards,
Sandeep C.

Chandu80 wrote in post #1002195:

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