posted 20 years ago
I have given fullscreen=1 for a window and it minimizes with the code:
var minflag;
function Minimize()
{
minflag = false;
window.moveTo(10000,10000);
minflag = true;
window.blur();
window.opener.focus();
}
window.onfocus = new Function("if(minflag){minflag=false;window.moveTo(0,0);}");
Now the problem is,Once it gets minimized it will maximize only on right click of the taskbar.Please tell me how to bring the same funtionallity to the left button of the mouse.
Thanks a lot