?? setup.aspx
字號:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>短消息設置</title>
<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
<meta content="C#" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
<LINK href="../../Css/BasicLayout.css" type="text/css" rel="stylesheet">
<script language="javascript">
function SetCookie(sName, sValue)
{
var parwin = window.dialogArguments;
parwin.document.cookie = sName + "=" + escape(sValue) + "; ";
}
function GetCookie(sName)
{
var parwin = window.dialogArguments;
var aCookie = parwin.document.cookie.split("; ");
for (var i=0; i < aCookie.length; i++)
{
var aCrumb = aCookie[i].split("=");
if (sName == aCrumb[0])
return unescape(aCrumb[1]);
}
}
function SetInit()
{
this.document.all.Setup.yes.focus();
if(GetCookie("UDS_RefreshTime")==null)
{
this.document.all.Setup.radiobutton[0].checked=true;
}
else
{
for(i=0;i<this.document.all.Setup.radiobutton.length;i++)
{
if(GetCookie("UDS_RefreshTime")==this.document.all.Setup.radiobutton[i].value*60000)
{
this.document.all.Setup.radiobutton[i].checked=true;
}
}
}
if(GetCookie("UDS_RemindType")==null)
{
this.document.all.Setup.radiobutton1[0].checked=true;
}
else
{
for(i=0;i<this.document.all.Setup.radiobutton1.length;i++)
{
if(GetCookie("UDS_RemindType")==this.document.all.Setup.radiobutton1[i].value)
{
this.document.all.Setup.radiobutton1[i].checked=true;
}
}
}
}
function FinishSetup()
{
for(i=0;i<this.document.all.Setup.radiobutton.length;i++)
{
if(this.document.all.Setup.radiobutton[i].checked==true)
{
SetCookie("UDS_RefreshTime",this.document.all.Setup.radiobutton[i].value*60000);
}
}
for(i=0;i<this.document.all.Setup.radiobutton1.length;i++)
{
if(this.document.all.Setup.radiobutton1[i].checked==true)
{
SetCookie("UDS_RemindType",this.document.all.Setup.radiobutton1[i].value);
}
}
window.dialogArguments.location.reload();
window.close();
}
</script>
</HEAD>
<body onload="SetInit()" MS_POSITIONING="GridLayout">
<form id="Setup" method="post">
<table class="GbText" width="90%" border="0">
<tr>
<td width="20%"><font color="#ff9966"> 短消息設置</font></td>
<td></td>
</tr>
<tr>
<td width="20%"> 設置提醒時間</td>
<td><input type="radio" value="0.5" name="radiobutton">0.5分鐘 <input type="radio" value="1" name="radiobutton">1分鐘
<input type="radio" value="2" name="radiobutton">2分鐘 <input type="radio" value="3" name="radiobutton">3分鐘
<input type="radio" value="4" name="radiobutton">4分鐘 <input type="radio" value="5" name="radiobutton">5分鐘
</td>
</tr>
<tr>
<td width="20%"> 設置提醒方式</td>
<td><input type="radio" value="1" name="radiobutton1"> 彈出窗口 <input type="radio" value="2" name="radiobutton1">
閃爍圖標
</td>
</tr>
<tr>
<td width="20%"></td>
<td><br>
<input class="redButtonCss" style="WIDTH: 112px; HEIGHT: 20px" onclick="FinishSetup()"
type="button" value="確 定" name="yes"> <input class="redButtonCss" style="WIDTH: 112px; HEIGHT: 20px" onclick="window.close()"
type="button" value="取 消" name="no">
</td>
</tr>
</table>
</form>
</body>
</HTML>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -