![]() |
| Script2EXE Home | How to Use | Interface | Buy | Support | Site Home |
The source is below. Click here to download the program.
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=iso-8859-1">
<STYLE TYPE="TEXT/CSS">
BODY{font:x-small Verdana, Arial, Helvetica, sans-serif}
</STYLE>
<SCRIPT LANGUAGE="JAVASCRIPT">
var fullscreen=false;
function ChangSize()
{
if(!window.external.SHW)
return;
if(fullscreen)
{
fullscreen=false;
window.external.ResizeClientTo(500, 300);
window.external.CenterFrameWindow();
}
else
{
window.external.FullScreenClient();
fullscreen=true;
}
}
function Exit()
{
if(window.external.SHW)
window.external.Exit();
}
</SCRIPT>
</HEAD>
<BODY>
<h5>Change Window Size between 500 * 300 and Full Screen</h5>
<hr>
<input type="button" onclick="ChangSize()" value="Change Size" style="width:100">
<input type="button" onclick="Exit()" value="Exit" style="width:100">
<hr>
<center>
<a href="http://www.xuebrothers.net/sh/sh.htm" target="_blank">This is a Demo Application by Script2EXE</a>
</center>
</BODY>
</HTML>
The source is below. Click here to download the program.
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=iso-8859-1">
<title>Calculator</title>
<STYLE TYPE="TEXT/CSS">
BODY{font:x-small Verdana, Arial, Helvetica, sans-serif}
</STYLE>
<SCRIPT LANGUAGE="JAVASCRIPT">
if(window.external.SHW)
window.external.FullScreenClient();
function Exit()
{
if(window.external.SHW)
window.external.Exit();
}
</SCRIPT>
</HEAD>
<BODY>
<h3>Initial Full Screen</h3>
<hr>
<input type="button" onclick="Exit()" value="Exit" style="width:100">
<hr>
<center>
<a href="http://www.xuebrothers.net/sh/sh.htm" target="_blank">This is a Demo Application by Script2EXE</a>
</center>
</BODY>
</HTML>