|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
问题是他们究竟是喜欢他们是使用软件时,速度快还是速度慢好.(当然在3秒以内).无论是他们输入资料时,查找资料时,分析资料时.剧本|控件|剧本|控件 利用的是一个img作为按钮,一个iframe载入日期页面
<IMG id="ImgDate" style="LEFT: 137px; CURSOR: hand; POSITION: absolute; TOP: 1px" onclick="SetlstDate1Visible('TxtDate')" src=http://www.163design.net/a/y/"images/ImgBtn/frmMainDate.gif" width="21">
<IFRAME class="dtpMonth1" id="lstDate1" style="DISPLAY: none; Z-INDEX: 105; LEFT: 112px; WIDTH: 176px; POSITION: absolute; TOP: 152px; HEIGHT: 160px"
tabIndex="-1" name="lstDate1" src="frmDate.aspx" frameBorder="0" scrolling="no">
</IFRAME>
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="frmDate.aspx.vb" Inherits="MOST_WEB.frmDate"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<title>dtpDate1</title>
<meta http-equiv="Content-Type" content="text/html; charset=shift_jis">
<meta content="Microsoft Visual Studio .NET 7.0" name="GENERATOR">
<meta content="Visual Basic 7.0" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
<LINK href="Styles.CSS" type="text/css" rel="stylesheet">
<script language="javascript" src="comFuncs.js"></script>
<script language="JavaScript">
function RunNian(The_Year)//获得是不是年
{
if ((The_Year%400==0) || ((The_Year%4==0) && (The_Year%100!=0)))
return true;
else
return false;
}
function GetWeekday(The_Year,The_Month)
{
var Allday;
Allday = 0;
if (The_Year>2000)
{
for (i=2000 ;i<The_Year; i++) //算2000年_始到往年的天
{
if (RunNian(i)){
Allday += 366;
}else{
Allday += 365;
}
}
for (i=2; i<=The_Month; i++)
{
switch (i)
{
case 2 : Allday += 31; break;
case 3 :
if (RunNian(The_Year)){
Allday += 29;
}else{
Allday += 28;
}
break;
case 4 : Allday += 31; break;
case 5 : Allday += 30; break;
case 6 : Allday += 31; break;
case 7 : Allday += 30; break;
case 8 : Allday += 31; break;
case 9 : Allday += 31; break;
case 10 : Allday += 30; break;
case 11 : Allday += 31; break;
case 12 : Allday += 30; break;
}
}
}
return (Allday+6)%7;
}
function chooseday(objName,The_Year,The_Month,The_Day)
{
var Firstday;
Firstday = GetWeekday(The_Year,The_Month);//获得礼拜
ShowCalender(objName,The_Year,The_Month,The_Day);
}
function showdate(objName,The_Year,The_Month,The_Day){//@示日期,⑺x的日期鞯textbox中@示出
var txtDate;
objName="TxtDate";
txtDate= objName;
var completely_date;
var cur_Month
var cur_Day
if (The_Month.toString().length==1){//o月后面加0
cur_Month="0"+The_Month
}else{
cur_Month=The_Month
}
if (The_Day.toString().length==1){//o日期前加0
cur_Day="0"+The_Day
}else{
cur_Day=The_Day
}
if (The_Day!=0)//{全日期的邮
completely_date = The_Year + "/" + cur_Month + "/" + cur_Day;
else
completely_date = "No Choose";
parent.document.all(txtDate).innerText = completely_date;//@示otextbox
}
function nextmonth(objName,The_Year,The_Month,The_Day)//x裣月
{
if (The_Month==12)
chooseday(objName,The_Year+1,1,The_Day);
else
chooseday(objName,The_Year,The_Month+1,The_Day);
}
function prevmonth(objName,The_Year,The_Month,The_Day)//x裆弦辉
{
if (The_Month==1)
chooseday(objName,The_Year-1,12,The_Day);
else
chooseday(objName,The_Year,The_Month-1,The_Day);
}
function closeself(){
top.document.frames(1).document.frames(1).ObjLostFocus();
}
</p> 专业性的服务。有的ASP商提供垂直型的应用服务,针对某一特定行业提供应用服务。 |
|