📄 default.aspx
字号:
<%@ Page language="c#" Codebehind="Default.aspx.cs" AutoEventWireup="false" Inherits="ClassOnline.WebForm1" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>WebForm1</title>
<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<FONT face="宋体"></FONT>
<TABLE id="AutoNumber1" style="Z-INDEX: 101; LEFT: 136px; POSITION: absolute; TOP: 32px; BORDER-COLLAPSE: collapse"
borderColor="#111111" height="50" cellSpacing="0" cellPadding="0" width="570" align="center"
border="0">
<TR>
<TD align="center" width="168" height="50"><IMG height="60" src="http://localhost/ClassOnline\image\logo.gif" width="480" border="0">
</TD>
<TD width="130" height="50">
<TABLE id="AutoNumber2" style="BORDER-COLLAPSE: collapse" borderColor="#111111" cellSpacing="0"
cellPadding="0" width="100%" border="0">
<TR>
<TD style="FONT-SIZE: 10pt; CURSOR: hand; COLOR: blue" onclick="var strHref=window.location.href;this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.classonline.com.cn');"
align="right" width="100%"><IMG src="http://localhost/ClassOnline\image\home00.gif" border="0">
设为首页
</TD>
</TR>
<TR>
<TD style="FONT-SIZE: 10pt; CURSOR: hand; COLOR: blue" onclick="javascript:window.external.AddFavorite('http://www.classonline.com.cn', '校友录')"
align="right" width="100%"><IMG src="http://localhost/ClassOnline\image\favo00.gif" border="0">
加入收藏
</TD>
</TR>
<TR>
<TD style="FONT-SIZE: 9pt; COLOR: blue" align="right" width="100%">
<SCRIPT language="javascript">
var today=new Date()
var month=today.getMonth()+1
document.write(today.getYear()+"年"+month+"月"+today.getDate()+"日")
</SCRIPT>
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
<SCRIPT language="JavaScript">
var speed = 100
var pause = 1000
var timerID = null
var bannerRunning = false
var ar = new Array()
ar[0] = "欢迎光临多多龙校友录!"
var currentMessage = 0
var offset = 0
function stopBanner() {
if (bannerRunning)
clearTimeout(timerID)
bannerRunning = false}
function startBanner() {
stopBanner()
showBanner()}
function showBanner() {
var text = ar[currentMessage]
if (offset < text.length) {
if (text.charAt(offset) == " ")
offset++
var partialMessage = text.substring(0, offset + 1)
window.status = partialMessage
offset++
timerID = setTimeout("showBanner()", speed)
bannerRunning = true}
else {
offset = 0
currentMessage++
if (currentMessage == ar.length)
currentMessage = 0
timerID = setTimeout("showBanner()", pause)
bannerRunning = true }}
startBanner();
</SCRIPT>
<TABLE id="Table1" style="Z-INDEX: 102; LEFT: 136px; POSITION: absolute; TOP: 104px" cellSpacing="0"
cellPadding="0" width="570" align="center" border="0">
<TR>
<TD style="FONT-SIZE: 9pt" vAlign="top" align="right" width="306">用户名:
<asp:TextBox id="txtAccount" CssClass="textbox" Runat="server" Width="94px"></asp:TextBox><BR>
口 令:
<asp:TextBox id="txtPwd" CssClass="textbox" Runat="server" Width="94px" TextMode="Password"></asp:TextBox>
<BR>
<asp:Label id="lblMsg" Runat="server" ForeColor="red"></asp:Label><BR>
<asp:Button id="btnOK" CssClass="button" Runat="server" Text="登 录"></asp:Button>
<asp:Button id="btnCancel" CssClass="button" Runat="server" Text="注 册"></asp:Button></TD>
</TR>
</TABLE>
</form>
</body>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -