📄 masterpage.master
字号:
<%@ Master Language="c#" CodeFile="MasterPage.master.cs" Inherits="MasterPage" %>
<!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 id="Head1" runat="server">
<title>无标题页</title>
<style type="text/css">
<!--
a:link {
color: #0066FF;
font-size:16px;
}
a:visited {
color: #949FF3;
}
a:hover {
color: #00CC00;
font-size:18px;
background-color:#CCEDC7
}
a:active {
color: #66FFFF;
}
-->
</style>
</head>
<body>
<form id="form1" runat="server">
<div>
<div style="text-align: center">
<table border="0" cellpadding="0" cellspacing="0" style="left: 1px; width: 80%; position: static;
top: 0px; height: 100%">
<tr>
<td align="left" style="width: 80%; height: 10%; background-color: #ffffff" valign="top">
<table border="1" cellpadding="0" cellspacing="0" style="width: 100%; position: relative;
height: 100%">
<tr>
<td align="left" style="width: 20%; height: 1%; background-color: #99cc99" valign="top">
<asp:Image ID="Image1" runat="server" Height="86px" ImageUrl="~/imgs/softimage18.jpg"
Style="position: relative" Width="100%" /></td>
<td align="left" style="width: 100%; height: 1%; background-color: #99cc99">
<asp:Image ID="Image2" runat="server" Height="86px" ImageUrl="~/imgs/softimage18.jpg"
Style="position: relative" Width="100%" /></td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="left" style="width: 80%; height: 3%; background-color: #ffffff" valign="top">
<table border="0" cellpadding="0" cellspacing="0" style="width: 100%; position: relative;
height: 100%; left: 0px; top: 2px;">
<tr>
<td style="width: 100%; height: 14%; background-color: #f4f8c7" align="center">
<asp:Menu ID="Menu1" runat="server" BackColor="#FFFBD6" DynamicHorizontalOffset="2"
Font-Names="Verdana" Font-Size="Medium" ForeColor="#990000" Orientation="Horizontal"
StaticSubMenuIndent="10px" Style="left: 0px; position: relative; top: 0px" Width="751px">
<StaticMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" />
<DynamicHoverStyle BackColor="#990000" ForeColor="White" />
<DynamicMenuStyle BackColor="#FFFBD6" />
<StaticSelectedStyle BackColor="#FFCC66" />
<DynamicSelectedStyle BackColor="#FFCC66" />
<DynamicMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" />
<Items>
<asp:MenuItem Text="小常识" Value="小常识" NavigateUrl="~/changshi.aspx?kind=changshi"></asp:MenuItem>
<asp:MenuItem Text="心理健康" Value="心理健康" NavigateUrl="~/xinli.aspx?kind=xinli"></asp:MenuItem>
<asp:MenuItem Text="开心生活" Value="开心生活" NavigateUrl="~/kaixin.aspx?kind=kaixin"></asp:MenuItem>
<asp:MenuItem Text="营养食法" Value="营养食法" NavigateUrl="~/yingyang.aspx?kind=yingyang"></asp:MenuItem>
<asp:MenuItem Text="小游戏" Value="小游戏" NavigateUrl="http://yx.jy105.cn" Target="_blank"></asp:MenuItem>
<asp:MenuItem Text="万年历" Value="常用查询" NavigateUrl="~/wnl.aspx"></asp:MenuItem>
</Items>
<StaticHoverStyle BackColor="#990000" ForeColor="White" />
</asp:Menu>
</td>
</tr>
</table></td>
</tr>
<tr>
<td align="center" style="width: 80%; height: 77%; background-color: #ffffff" valign="top">
<table border="0" cellpadding="0" cellspacing="0" style="left: -2px; width: 100%;
position: relative; top: 5px; height: 100%">
<tr>
<td align="left" style="width: 33%; height: 100%; background-color: #ffffff" valign="top">
<table border="1" cellpadding="0" cellspacing="0" style="width: 100%; position: relative;
height: 15%; left: 0px; top: 9px;">
<tr>
<td align="center" style="width: 100%; height: 58%; background-color: #ffffff">
<script type="text/javascript">
function Year_Month(){
var now = new Date();
var yy = now.getYear();
var mm = now.getMonth()+1;
var cl = '<font color="#0000df">';
if (now.getDay() == 0) cl = '<font color="#c00000">';
if (now.getDay() == 6) cl = '<font color="#00c000">';
return(cl + yy + '年' + mm + '月</font>');
}
function Date_of_Today(){
var now = new Date();
var cl = '<font color="#0000df">';
if (now.getDay() == 0) cl = '<font color="#c00000">';
if (now.getDay() == 6) cl = '<font color="#00c000">';
return(cl + now.getDate() + '</font>');
}
function Day_of_Today(){
var day = new Array();
day[0] = "星期日";
day[1] = "星期一";
day[2] = "星期二";
day[3] = "星期三";
day[4] = "星期四";
day[5] = "星期五";
day[6] = "星期六";
var now = new Date();
var cl = '<font color="#0000df">';
if (now.getDay() == 0) cl = '<font color="#c00000">';
if (now.getDay() == 6) cl = '<font color="#00c000">';
return(cl + day[now.getDay()] + '</font>');
}
function CurentTime(){
var now = new Date();
var hh = now.getHours();
var mm = now.getMinutes();
var ss = now.getTime() % 60000;
ss = (ss - (ss % 1000)) / 1000;
var clock = hh+':';
if (mm < 10) clock += '0';
clock += mm+':';
if (ss < 10) clock += '0';
clock += ss;
return(clock);
}
function refreshCalendarClock(){
document.all.calendarClock1.innerHTML = Year_Month();
document.all.calendarClock2.innerHTML = Date_of_Today();
document.all.calendarClock3.innerHTML = Day_of_Today();
document.all.calendarClock4.innerHTML = CurentTime();
}
document.write('<font id="calendarClock1" style="font-family:宋体;font-size:9pt;line-height:120%"> </font><br>');
document.write('<font id="calendarClock2" style="font-family:Arial;font-size:14pt;line-height:120%"> </font><br>');
document.write('<font id="calendarClock3" style="font-family:宋体;font-size:9pt;line-height:120%"> </font><br>');
document.write('<font id="calendarClock4" style="color:#100080;font-family:宋体;font-size:9pt;line-height:120%"><b> </b></font>');
setInterval('refreshCalendarClock()',1000);
</script>
</td>
</tr>
</table><table border="1" cellpadding="0" cellspacing="0" style="width: 100%; position: relative;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -