
Untitled
By: a guest on
Jul 4th, 2012 | syntax:
None | size: 0.44 KB | hits: 22 | expires: Never
How to disable minimize, maximize button in the browser?
window.open("mypage.html","mywindowname", "toolbar=no,menubar=no");
<SCRIPT LANGUAGE="JavaScript">
var WshShell = new ActiveXObject("WScript.Shell");
function Minimize()
{
WshShell.SendKeys("% n");
}
</SCRIPT>
</HEAD>
<BODY >
<TABLE width=100%>
<TR align=right>
<TD><input type="button" name="Button" onclick="Minimize()" value="minimize" /></TD>
</TR>
</TABLE>
</BODY>