⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 birthdayinfo.aspx

📁 程序中带有大量的实例,采用多种方式优化代码,这初学者很好的学习资料
💻 ASPX
字号:
<%@ Page language="c#" Codebehind="BirthdayInfo.aspx.cs" AutoEventWireup="false" Inherits="Web.BirthdayInfo" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>BirthdayInfo</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">
<style type="text/css">
.F1 {filter: glow(Color=red,Strength=0);
     width=151px;
     height=16px;}
.F2 {filter: glow(Color=yellow,Strength=0);
     width=151px;
     height=16px;}
.F3 {filter: glow(Color=#0080FF,Strength=0);
     width=151px;height=16px;}
</style>
<script language="JavaScript">
var rate = 2000

var i = 0
var F = 'F1'
function doThing(){
   if (document.getElementById&&document.all) {   
      ok =  true
      i++;
      if (i==1) F = 'F1'
      if (i==2) F = 'F2'
      if (i==3) F = 'F3'  
      myfont.className=F
      if (i > 2) i = 0
      timer=setTimeout('doThing()', rate)
   }         
}
</script>
	</HEAD>
	<body MS_POSITIONING="GridLayout" onload="doThing()" background="image/5.jpg">
		<form id="Form1" method="post" runat="server">
			<TABLE id="Table1" style="Z-INDEX: 101; LEFT: 0px; POSITION: absolute; TOP: 0px" cellSpacing="1"
				cellPadding="1" width="152">
				<TR>
					<TD style="LINE-HEIGHT: 20px;HEIGHT: 72px">
					<FONT face="宋体" size="2" ><div id="myfont">
							<%=showname()%></div>
						</FONT>
					</TD>
				</TR>
			</TABLE>
		</form>
	</body>
</HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -