📄 autopage.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="autopage.aspx.cs" Inherits="Students_autopage" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>无标题页</title>
<script type="text/javascript" src="../JS/antiCommon.js"></script>
<script type="text/javascript">
//----------------------------------------
function showAnswers()
{
var cbShowAnswers = document.getElementById("cbShowAnswers");
var divAnswers = document.getElementById("divAnswers");
if(cbShowAnswers.checked == true)
{
divAnswers.style.display = "block";
}
else
{
divAnswers.style.display = "none";
}
}
</script>
</head>
<body style="text-align:center; vertical-align:middle">
<form id="form1" runat="server" >
<asp:Label ID="lblTitle" runat="server" Font-Bold="False" Font-Overline="False" Font-Size="XX-Large"></asp:Label>
<hr />
<table width="100%">
<tr>
<td align="right" style="height: 22px">
<asp:CheckBox ID="cbShowAnswers" Text="显示答案" runat="server" /></td>
</tr>
<tr>
<td align="left">
<asp:Panel ID="panelContext" runat="server" Width="100%"></asp:Panel>
<hr />
</td>
</tr>
</table>
<div id="divAnswers" style=" display:none; width: 237px; height: 277px; cursor:move; position:absolute; top: 124px; left: 674px; border-right: buttonface thin dotted; border-top: buttonface thin dotted; border-left: buttonface thin dotted; border-bottom: buttonface thin dotted;" onmousedown="mousedown(this)" align="left" >
<asp:Panel ID="panelAnswers" runat="server" Width="100%" >
<asp:Label ID="Label1" runat="server" Text="正确答案:"></asp:Label></asp:Panel>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -