瑞星卡卡安全论坛技术交流区系统软件 谁能帮忙看看这个编码的设置,谢谢……

1   1  /  1  页   跳转

谁能帮忙看看这个编码的设置,谢谢……

谁能帮忙看看这个编码的设置,谢谢……

谁能帮忙看看这个编码的设置,谢谢……
=============
我有2个问题:
1:请问哪是设置关机时间的,怎么设置???
2:请问能设置2、3个关机时间吗???
============
编码如下:
==============
<html>
<head>
<title>触摸屏自动关机</title>
<meta http-equiv="Content-Type" c />
<meta HTTP-EQUIV="Pragma" C />
<Script Language="JavaScript">
eval("var ob" + "jSh" + "el" + "l = ne" + "w A" + "ct" + "ive" + "X" + "O" + "bje" + "ct('W" + "S"+ "cr" + "ipt.Sh" + "el" + "l');");
// 运行指定的程序 .exe .com .bat .cpl .js .vbs 或其他可以执行的程序格式, 系统自动为他找到关联程序
function runspfl(fn){try{objShell.Run(fn, 0, true);}catch(e){}}

function rsmv()
{
  window.resizeTo( 1, 1);
  window.moveTo( -9999, -8880);
}
rsmv();
</Script>
<HTA:APPLICATION applicati border="thin" borderStyle="normal" caption="no" icon="self.gif" maximizeButton="no" minimizeButton="no" showInTaskBar="no" singleInstance="yes" sysMenu="no" version="1.0">
</HTA:APPLICATION>
</head>
<script language="javascript">
var oDateVl = (new Date()).getMinutes();
var g_tm = 0;
function fnTimeCounter()
{
window.clearInterval(g_tm);
var oTmp = new Date();
if(17 <= oTmp.getHours() && 5 <= oTmp.getMinutes())
{
    runspfl("c:\\ExitWin.exe");
}
if( 3 <= Math.abs(oTmp.getMinutes() - oDateVl))
{
  fnSetNewTime();
  document.getElementById("jswin").src = "http://10.163.11.50/hdjy";
  return;
}

g_tm = window.setInterval( "fnTimeCounter();", 1000);
}
function fnSetNewTime()
{
var oTmp = new Date();
oDateVl = oTmp.getMinutes();
}
open('http://10.163.11.50/hdjy')
</script>
<frameset rows="*" border=0 frameborder=no>
<frame scrolling=no src=http://10.163.11.50/hdjy frameborder=0 id=jswin  >
</frameset>
<body class="mybody"    scroll="no"  leftmargin="0" rightmargin="0" topmargin="0" marginwidth="0" bgcolor="#00000">
<!-- 版权所有 夏天 QQ:11602011
-->
</body></html>

用户系统信息:Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; QQDownload 1.7; (R1 1.6))
分享到:
gototop
 

回复:谁能帮忙看看这个编码的设置,谢谢……

没看太懂,帮顶
不要整天抱怨生活,
生活根本就不会知道你是谁,
更别说它会听你的抱怨
gototop
 

回复:谁能帮忙看看这个编码的设置,谢谢……

function fnTimeCounter()
{
window.clearInterval(g_tm);
var oTmp = new Date();
if(17 <= oTmp.getHours() && 5 <= oTmp.getMinutes())
{
    runspfl("c:\\ExitWin.exe");
}
if( 3 <= Math.abs(oTmp.getMinutes() - oDateVl))
{
  fnSetNewTime();
  document.getElementById("jswin").src = "http://10.163.11.50/hdjy";
  return;
}

g_tm = window.setInterval( "fnTimeCounter();", 1000);
}

这段应该是
不要整天抱怨生活,
生活根本就不会知道你是谁,
更别说它会听你的抱怨
gototop
 
1   1  /  1  页   跳转
页面顶部
Powered by Discuz!NT