扫二维码与项目经理沟通
我们在微信上24小时期待你的声音
解答本文疑问/技术咨询/运营咨询/技术建议/互联网交流
HTMLHEADTITLE在线日历/TITLE
成都创新互联公司是专业的上蔡网站建设公司,上蔡接单;提供成都网站设计、做网站,网页设计,网站设计,建网站,PHP网站建设等专业做网站服务;采用PHP框架,可快速的进行上蔡网站开发网页制作和功能扩展;专业做搜索引擎喜爱的网站,专业的做网站团队,希望更多企业前来合作!
META
content="农历; 阳历; 月历; 节日; 时区; 节气; 八字; 干支; 生肖; gregorian solar; chinese lunar; calendar;"
name=keywords
META content=All name=robots
META http-equiv=Content-Type content="text/html; charset=gb2312"
STYLEBODY {
FONT-SIZE: 9pt
}
TABLE {
FONT-SIZE: 9pt
}
/STYLE
SCRIPT language=JavaScript
function click() {
if (event.button==2) {alert('欢迎访问农历与阳历对照陈年老黄历') }}
document.onmousedown=click
/SCRIPT
SCRIPT language=JavaScript
!--
/*****************************************************************************
日期资料
*****************************************************************************/
var lunarInfo=new Array(
0x04bd8,0x04ae0,0x0a570,0x054d5,0x0d260,0x0d950,0x16554,0x056a0,0x09ad0,0x055d2,
0x04ae0,0x0a5b6,0x0a4d0,0x0d250,0x1d255,0x0b540,0x0d6a0,0x0ada2,0x095b0,0x14977,
0x04970,0x0a4b0,0x0b4b5,0x06a50,0x06d40,0x1ab54,0x02b60,0x09570,0x052f2,0x04970,
0x06566,0x0d4a0,0x0ea50,0x06e95,0x05ad0,0x02b60,0x186e3,0x092e0,0x1c8d7,0x0c950,
0x0d4a0,0x1d8a6,0x0b550,0x056a0,0x1a5b4,0x025d0,0x092d0,0x0d2b2,0x0a950,0x0b557,
0x06ca0,0x0b550,0x15355,0x04da0,0x0a5d0,0x14573,0x052d0,0x0a9a8,0x0e950,0x06aa0,
0x0aea6,0x0ab50,0x04b60,0x0aae4,0x0a570,0x05260,0x0f263,0x0d950,0x05b57,0x056a0,
0x096d0,0x04dd5,0x04ad0,0x0a4d0,0x0d4d4,0x0d250,0x0d558,0x0b540,0x0b5a0,0x195a6,
0x095b0,0x049b0,0x0a974,0x0a4b0,0x0b27a,0x06a50,0x06d40,0x0af46,0x0ab60,0x09570,
0x04af5,0x04970,0x064b0,0x074a3,0x0ea50,0x06b58,0x055c0,0x0ab60,0x096d5,0x092e0,
0x0c960,0x0d954,0x0d4a0,0x0da50,0x07552,0x056a0,0x0abb7,0x025d0,0x092d0,0x0cab5,
0x0a950,0x0b4a0,0x0baa4,0x0ad50,0x055d9,0x04ba0,0x0a5b0,0x15176,0x052b0,0x0a930,
0x07954,0x06aa0,0x0ad50,0x05b52,0x04b60,0x0a6e6,0x0a4e0,0x0d260,0x0ea65,0x0d530,
0x05aa0,0x076a3,0x096d0,0x04bd7,0x04ad0,0x0a4d0,0x1d0b6,0x0d250,0x0d520,0x0dd45,
0x0b5a0,0x056d0,0x055b2,0x049b0,0x0a577,0x0a4b0,0x0aa50,0x1b255,0x06d20,0x0ada0)
var solarMonth=new Array(31,28,31,30,31,30,31,31,30,31,30,31);
var Gan=new Array("甲","乙","丙","丁","戊","己","庚","辛","壬","癸");
var Zhi=new Array("子","丑","寅","卯","辰","巳","午","未","申","酉","戌","亥");
var Animals=new Array("鼠","牛","虎","兔","龙","蛇","马","羊","猴","鸡","狗","猪");
var solarTerm = new Array("小寒","大寒","立春","雨水","惊蛰","春分","清明","谷雨","立夏","小满","芒种","夏至","小暑","大暑","立秋","处暑","白露","秋分","寒露","霜降","立冬","小雪","大雪","冬至")
var sTermInfo = new Array(0,21208,42467,63836,85337,107014,128867,150921,173149,195551,218072,240693,263343,285989,308563,331033,353350,375494,397447,419210,440795,462224,483532,504758)
var nStr1 = new Array('日','一','二','三','四','五','六','七','八','九','十')
var nStr2 = new Array('初','十','廿','卅',' ')
var monthName = new Array("1 月","2 月","3 月","4 月","5 月","6 月","7 月","8 月","9 月","10 月","11 月","12 月");
//国历节日 *表示放假日
var sFtv = new Array(
"0101*元旦",
"0214 情人节",
"0308 妇女节",
"0312 植树节",
"0315 消费者权益日",
"0401 愚人节",
"0501 劳动节",
"0504 青年节",
"0512 护士节",
"0601 儿童节",
"0701 建党节 香港回归纪念",
"0801 建军节",
"0808 父亲节",
"0909 毛泽东逝世纪念",
"0910 教师节",
"0928 孔子诞辰",
"1001*国庆节",
"1006 老人节",
"1024 联合国日",
"1112 孙中山诞辰纪念",
"1220 澳门回归纪念",
"1225 圣诞节",
"1226 毛泽东诞辰纪念")
//农历节日 *表示放假日
var lFtv = new Array(
"0101*春节",
"0115 元宵节",
"0505 端午节",
"0715 中元节",
"0815 中秋节",
"0909 重阳节",
"1208 腊八节",
"1224 小年",
"0100*除夕")
//某月的第几个星期几
var wFtv = new Array(
"0520 母亲节",
"0716 合作节",
"0730 被奴役国家周")
/*****************************************************************************
日期计算
*****************************************************************************/
//====================================== 传回农历 y年的总天数
function lYearDays(y) {
var i, sum = 348
for(i=0x8000; i0x8; i=1) sum += (lunarInfo[y-1900] i)? 1: 0
return(sum+leapDays(y))
}
//====================================== 传回农历 y年闰月的天数
function leapDays(y) {
if(leapMonth(y)) return((lunarInfo[y-1900] 0x10000)? 30: 29)
else return(0)
}
//====================================== 传回农历 y年闰哪个月 1-12 , 没闰传回 0
function leapMonth(y) {
return(lunarInfo[y-1900] 0xf)
}
//====================================== 传回农历 y年m月的总天数
function monthDays(y,m) {
return( (lunarInfo[y-1900] (0x10000m))? 30: 29 )
}
//====================================== 算出农历, 传入日期物件, 传回农历日期物件
// 该物件属性有 .year .month .day .isLeap .yearCyl .dayCyl .monCyl
function Lunar(objDate) {
var i, leap=0, temp=0
var baseDate = new Date(1900,0,31)
var offset = (objDate - baseDate)/86400000
this.dayCyl = offset + 40
this.monCyl = 14
for(i=1900; i2050 offset0; i++) {
temp = lYearDays(i)
offset -= temp
this.monCyl += 12
}
if(offset0) {
offset += temp;
i--;
this.monCyl -= 12
}
this.year = i
this.yearCyl = i-1864
leap = leapMonth(i) //闰哪个月
this.isLeap = false
for(i=1; i13 offset0; i++) {
//闰月
if(leap0 i==(leap+1) this.isLeap==false)
{ --i; this.isLeap = true; temp = leapDays(this.year); }
else
{ temp = monthDays(this.year, i); }
//解除闰月
if(this.isLeap==true i==(leap+1)) this.isLeap = false
offset -= temp
if(this.isLeap == false) this.monCyl ++
}
if(offset==0 leap0 i==leap+1)
if(this.isLeap)
{ this.isLeap = false; }
else
{ this.isLeap = true; --i; --this.monCyl;}
if(offset0){ offset += temp; --i; --this.monCyl; }
this.month = i
this.day = offset + 1
}
//==============================传回阳历 y年某m+1月的天数
function solarDays(y,m) {
if(m==1)
return(((y%4 == 0) (y%100 != 0) || (y%400 == 0))? 29: 28)
else
return(solarMonth[m])
}
//============================== 传入 offset 传回干支, 0=甲子
function cyclical(num) {
return(Gan[num%10]+Zhi[num%12])
}
//============================== 月历属性
function calElement(sYear,sMonth,sDay,week,lYear,lMonth,lDay,isLeap,cYear,cMonth,cDay) {
this.isToday = false;
//阳历
this.sYear = sYear;
this.sMonth = sMonth;
this.sDay = sDay;
this.week = week;
//农历
this.lYear = lYear;
this.lMonth = lMonth;
this.lDay = lDay;
this.isLeap = isLeap;
//干支
this.cYear = cYear;
this.cMonth = cMonth;
this.cDay = cDay;
this.color = '';
this.lunarFestival = ''; //农历节日
this.solarFestival = ''; //阳历节日
this.solarTerms = ''; //节气
}
//===== 某年的第n个节气为几日(从0小寒起算)
function sTerm(y,n) {
var offDate = new Date( ( 31556925974.7*(y-1900) + sTermInfo[n]*60000 ) + Date.UTC(1900,0,6,2,5) )
return(offDate.getUTCDate())
}
//============================== 传回月历物件 (y年,m+1月)
function calendar(y,m) {
var sDObj, lDObj, lY, lM, lD=1, lL, lX=0, tmp1, tmp2
var lDPOS = new Array(3)
var n = 0
var firstLM = 0
sDObj = new Date(y,m,1) //当月一日日期
this.length = solarDays(y,m) //阳历当月天数
this.firstWeek = sDObj.getDay() //阳历当月1日星期几
for(var i=0;ithis.length;i++) {
if(lDlX) {
sDObj = new Date(y,m,i+1) //当月一日日期
lDObj = new Lunar(sDObj) //农历
lY = lDObj.year //农历年
lM = lDObj.month //农历月
lD = lDObj.day //农历日
lL = lDObj.isLeap //农历是否闰月
lX = lL? leapDays(lY): monthDays(lY,lM) //农历当月最后一天
if(n==0) firstLM = lM
lDPOS[n++] = i-lD+1
}
//sYear,sMonth,sDay,week,
//lYear,lMonth,lDay,isLeap,
//cYear,cMonth,cDay
this[i] = new calElement(y, m+1, i+1, nStr1[(i+this.firstWeek)%7],
lY, lM, lD++, lL,
cyclical(lDObj.yearCyl) ,cyclical(lDObj.monCyl), cyclical(lDObj.dayCyl++) )
if((i+this.firstWeek)%7==0) this[i].color = 'red' //周日颜色
if((i+this.firstWeek)%14==13) this[i].color = 'red' //周休二日颜色
}
//节气
tmp1=sTerm(y,m*2 )-1
tmp2=sTerm(y,m*2+1)-1
this[tmp1].solarTerms = solarTerm[m*2]
this[tmp2].solarTerms = solarTerm[m*2+1]
if(m==3) this[tmp1].color = 'red' //清明颜色
//阳历节日
for(i in sFtv)
if(sFtv[i].match(/^(\d{2})(\d{2})([\s\*])(.+)$/))
if(Number(RegExp.$1)==(m+1)) {
this[Number(RegExp.$2)-1].solarFestival += RegExp.$4 + ' '
if(RegExp.$3=='*') this[Number(RegExp.$2)-1].color = 'red'
}
//月周节日
for(i in wFtv)
if(wFtv[i].match(/^(\d{2})(\d)(\d)([\s\*])(.+)$/))
if(Number(RegExp.$1)==(m+1)) {
tmp1=Number(RegExp.$2)
tmp2=Number(RegExp.$3)
this[((this.firstWeektmp2)?7:0) + 7*(tmp1-1) + tmp2 - this.firstWeek].solarFestival += RegExp.$5 + ' '
}
//农历节日
for(i in lFtv)
if(lFtv[i].match(/^(\d{2})(.{2})([\s\*])(.+)$/)) {
tmp1=Number(RegExp.$1)-firstLM
if(tmp1==-11) tmp1=1
if(tmp1 =0 tmp1n) {
tmp2 = lDPOS[tmp1] + Number(RegExp.$2) -1
if( tmp2 = 0 tmp2this.length) {
this[tmp2].lunarFestival += RegExp.$4 + ' '
if(RegExp.$3=='*') this[tmp2].color = 'red'
}
}
}
//黑色星期五
if((this.firstWeek+12)%7==5)
this[12].solarFestival += '黑色星期五 '
//今日
if(y==tY m==tM) this[tD-1].isToday = true;
}
//====================== 中文日期
function cDay(d){
var s;
switch (d) {
case 10:
s = '初十'; break;
case 20:
s = '二十'; break;
break;
case 30:
s = '三十'; break;
break;
default :
s = nStr2[Math.floor(d/10)];
s += nStr1[d%10];
}
return(s);
}
///////////////////////////////////////////////////////////////////////////////
var cld;
function drawCld(SY,SM) {
var i,sD,s,size;
cld = new calendar(SY,SM);
if(SY1874 SY1909) yDisplay = '光绪' + (((SY-1874)==1)?'元':SY-1874)
if(SY1908 SY1912) yDisplay = '宣统' + (((SY-1908)==1)?'元':SY-1908)
if(SY1911 SY1950) yDisplay = '民国' + (((SY-1911)==1)?'元':SY-1911)
if(SY1949) yDisplay = '' + (((SY-1949)==1)?'元':SY)
GZ.innerHTML = yDisplay +'年 农历' + cyclical(SY-1900+36) + '年 【'+Animals[(SY-4)%12]+'】';
YMBG.innerHTML = " " + SY + "BR " + monthName[SM];
for(i=0;i42;i++) {
sObj=eval('SD'+ i);
lObj=eval('LD'+ i);
sObj.className = '';
sD = i - cld.firstWeek;
if(sD-1 sDcld.length) { //日期内
sObj.innerHTML = sD+1;
if(cld[sD].isToday) sObj.className = 'todyaColor'; //今日颜色
sObj.style.color = cld[sD].color; //国定假日颜色
if(cld[sD].lDay==1) //显示农历月
lObj.innerHTML = 'b'+(cld[sD].isLeap?'闰':'') + cld[sD].lMonth + '月' + (monthDays(cld[sD].lYear,cld[sD].lMonth)==29?'小':'大')+'/b';
else //显示农历日
lObj.innerHTML = cDay(cld[sD].lDay);
s=cld[sD].lunarFestival;
if(s.length0) { //农历节日
if(s.length6) s = s.substr(0, 4)+'…';
s = s.fontcolor('red');
}
else { //国历节日
s=cld[sD].solarFestival;
if(s.length0) {
size = (s.charCodeAt(0)0 s.charCodeAt(0)128)?8:4;
if(s.lengthsize+2) s = s.substr(0, size)+'…';
s = s.fontcolor('blue');
}
else { //廿四节气
s=cld[sD].solarTerms;
if(s.length0) s = s.fontcolor('limegreen');
}
}
if(s.length0) lObj.innerHTML = s;
}
else { //非日期
sObj.innerHTML = '';
lObj.innerHTML = '';
}
}
}
function changeCld() {
var y,m;
y=CLD.SY.selectedIndex+1900;
m=CLD.SM.selectedIndex;
drawCld(y,m);
}
function pushBtm(K) {
switch (K){
case 'YU' :
if(CLD.SY.selectedIndex0) CLD.SY.selectedIndex--;
break;
case 'YD' :
if(CLD.SY.selectedIndex149) CLD.SY.selectedIndex++;
break;
case 'MU' :
if(CLD.SM.selectedIndex0) {
CLD.SM.selectedIndex--;
}
else {
CLD.SM.selectedIndex=11;
if(CLD.SY.selectedIndex0) CLD.SY.selectedIndex--;
}
break;
case 'MD' :
if(CLD.SM.selectedIndex11) {
CLD.SM.selectedIndex++;
}
else {
CLD.SM.selectedIndex=0;
if(CLD.SY.selectedIndex149) CLD.SY.selectedIndex++;
}
break;
default :
CLD.SY.selectedIndex=tY-1900;
CLD.SM.selectedIndex=tM;
}
changeCld();
}
var Today = new Date();
var tY = Today.getFullYear();
var tM = Today.getMonth();
var tD = Today.getDate();
//////////////////////////////////////////////////////////////////////////////
var width = "130";
var offsetx = 2;
var offsety = 16;
var x = 0;
var y = 0;
var snow = 0;
var sw = 0;
var cnt = 0;
var dStyle;
document.onmousemove = mEvn;
//显示详细日期资料
function mOvr(v) {
var s,festival;
var sObj=eval('SD'+ v);
var d=sObj.innerHTML-1;
//sYear,sMonth,sDay,week,
//lYear,lMonth,lDay,isLeap,
//cYear,cMonth,cDay
if(sObj.innerHTML!='') {
sObj.style.cursor = 's-resize';
if(cld[d].solarTerms == '' cld[d].solarFestival == '' cld[d].lunarFestival == '')
festival = '';
else
festival = 'TABLE WIDTH=100% BORDER=0 CELLPADDING=2 CELLSPACING=0 BGCOLOR="#CCFFCC"TRTD'+
'FONT COLOR="#000000" STYLE="font-size:9pt;"'+cld[d].solarTerms + ' ' + cld[d].solarFestival + ' ' + cld[d].lunarFestival+'/FONT/TD'+
'/TR/TABLE';
s= 'TABLE WIDTH="130" BORDER=0 CELLPADDING="2" CELLSPACING=0 BGCOLOR="#000066"TRTD' +
'TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0TRTD ALIGN="right"FONT COLOR="#ffffff" STYLE="font-size:9pt;"'+
cld[d].sYear+' 年 '+cld[d].sMonth+' 月 '+cld[d].sDay+' 日br星期'+cld[d].week+'br'+
'font color="violet"农历'+(cld[d].isLeap?'闰 ':' ')+cld[d].lMonth+' 月 '+cld[d].lDay+' 日/fontbr'+
'font color="yellow"'+cld[d].cYear+'年 '+cld[d].cMonth+'月 '+cld[d].cDay + '日/font'+
'/FONT/TD/TR/TABLE'+ festival +'/TD/TR/TABLE';
document.all["detail"].innerHTML = s;
if (snow == 0) {
dStyle.left = x+offsetx-(width/2);
dStyle.top = y+offsety;
dStyle.visibility = "visible";
snow = 1;
}
}
}
//清除详细日期资料
function mOut() {
if ( cnt = 1 ) { sw = 0 }
if ( sw == 0 ) { snow = 0; dStyle.visibility = "hidden";}
else cnt++;
}
//取得位置
function mEvn() {
x=event.x;
y=event.y;
if (document.body.scrollLeft)
{x=event.x+document.body.scrollLeft; y=event.y+document.body.scrollTop;}
if (snow){
dStyle.left = x+offsetx-(width/2)
dStyle.top = y+offsety
}
}
///////////////////////////////////////////////////////////////////////////
function changeTZ() {
CITY.innerHTML = CLD.TZ.value.substr(6)
setCookie("TZ",CLD.TZ.selectedIndex)
}
function tick() {
var today
today = new Date()
Clock.innerHTML = today.toLocaleString().replace(/(年|月)/g, "/").replace(/日/, "");
Clock.innerHTML = TimeAdd(today.toGMTString(), CLD.TZ.value)
window.setTimeout("tick()", 1000);
}
function setCookie(name, value) {
var today = new Date()
var expires = new Date()
expires.setTime(today.getTime() + 1000*60*60*24*365)
document.cookie = name + "=" + escape(value) + "; expires=" + expires.toGMTString()
}
function getCookie(Name) {
var search = Name + "="
if(document.cookie.length 0) {
offset = document.cookie.indexOf(search)
if(offset != -1) {
offset += search.length
end = document.cookie.indexOf(";", offset)
if(end == -1) end = document.cookie.length
return unescape(document.cookie.substring(offset, end))
}
else return ""
}
}
/////////////////////////////////////////////////////////
function initial() {
dStyle = detail.style;
CLD.SY.selectedIndex=tY-1900;
CLD.SM.selectedIndex=tM;
drawCld(tY,tM);
CLD.TZ.selectedIndex=getCookie("TZ");
changeTZ();
tick();
}
//--
/SCRIPT
SCRIPT language=VBScript
!--
'===== 算世界时间
Function TimeAdd(UTC,T)
Dim PlusMinus, DST, y
If Left(T,1)="-" Then PlusMinus = -1 Else PlusMinus = 1
UTC=Right(UTC,Len(UTC)-5)
UTC=Left(UTC,Len(UTC)-4)
y = Year(UTC)
TimeAdd=DateAdd("n", (Cint(Mid(T,2,2))*60 + Cint(Mid(T,4,2))) * PlusMinus, UTC)
'美国日光节约期间: 4月第一个星期日00:00 至 10月最后一个星期日00:00
If Mid(T,6,1)="*" And DateSerial(y,4,(9 - Weekday(DateSerial(y,4,1)) mod 7) ) = TimeAdd And DateSerial(y,10,31 - Weekday(DateSerial(y,10,31))) = TimeAdd Then
TimeAdd=CStr(DateAdd("h", 1, TimeAdd))
tSave.innerHTML = "R"
Else
tSave.innerHTML = ""
End If
TimeAdd = CStr(TimeAdd)
End Function
'--
/SCRIPT
STYLE.todyaColor {
BACKGROUND-COLOR: aqua
}
/STYLE
META content="Microsoft FrontPage 4.0" name=GENERATOR/HEAD
BODY bgColor=#ffffff leftMargin=0 topMargin=0 onload=initial()
TABLE height=6 cellSpacing=0 cellPadding=0 width=400 align=center border=0
TBODY/TBODY/TABLE
SCRIPT language=JavaScript!--
if(navigator.appName == "Netscape" || parseInt(navigator.appVersion) 4)
document.write("h1你的浏览器无法执行此程序。/h1此程序在 IE4 以后的版本才能执行!!")
//--/SCRIPT
DIV id=detail style="POSITION: absolute"/DIV
CENTER
FORM name=CLD
TABLE
TBODY
TR
BRBR
TD vAlign=top align=middleFONT color=#008888 size=2
SCRIPT language=JavaScript
var enabled = 0; today = new Date();
var day; var date;
if(today.getDay()==0) day = "星期日"
if(today.getDay()==1) day = "星期一"
if(today.getDay()==2) day = "星期二"
if(today.getDay()==3) day = "星期三"
if(today.getDay()==4) day = "星期四"
if(today.getDay()==5) day = "星期五"
if(today.getDay()==6) day = "星期六"
document.fgColor = "000000";
/SCRIPT
/FONTBRBRFONT style="FONT-SIZE: 9pt" size=2当地时间:/FONTBRFONT
id=Clock face=Arial color=#660080 size=4 align="center"/FONT
P!--时区 *表示自动调整为日光节约时间--FONT style="FONT-SIZE: 9pt" size=2SELECT
style="FONT-SIZE: 9pt" onchange=changeTZ() name=TZ OPTION
value="+0800 北京、重庆、黑龙江" selected中国OPTION value="+0800 台湾、香港、新加坡"台北OPTION
value="-1200 安尼威土克、瓜甲兰" 国际换日线OPTION
value="-1100 中途岛、萨摩亚群岛"萨摩亚OPTION value="-1000 夏威夷"夏威夷OPTION
value=-0900*阿拉斯加阿拉斯加OPTION value=-0800*太平洋时间(美加)、提亚纳太平洋OPTION
value="-0700 亚历桑那"美国山区OPTION value=-0700*山区时间(美加)美加山区OPTION
value=-0600*萨克其万(加拿大)加拿大中部OPTION value=-0600*墨西哥市、塔克西卡帕墨西哥OPTION
value=-0600*中部时间(美加)美加中部OPTION value=-0500*波哥大
编程入门先学C语言或者python。
为了解决使用机器语言编写应用程序所带来的一系列问题,人们首先想到使用助记符号来代替不容易记忆的机器指令。这种助记符号来表示计算机指令的语言称为符号语言,也称汇编语言。
在汇编语言中,每一条用符号来表示的汇编指令与计算机机器指令一一对应;记忆难度大大减少了,不仅易于检查和修改程序错误,而且指令、数据的存放位置可以由计算机自动分配。
扩展资料:
使用汇编语言编写计算机程序,程序员仍然需要十分熟悉计算机系统的硬件结构,所以从程序设计本身上来看仍然是低效率的、繁琐的。
但正是由于汇编语言与计算机硬件系统关系密切,在某些特定的场合,如对时空效率要求很高的系统核心程序以及实时控制程序等,迄今为止汇编语言仍然是十分有效的程序设计工具。
但它有不可替代的特性,比如一些单片机或者一些直接控制硬件的程序就一定要用汇编语言。
1一般的报名流程如下,百度搜索中国卫生人才网---进入第一个搜索结果中国卫生人才官网。
2在新的标签页中点击进入报名入口。
3在新弹出标签页后,选择左侧的网上报名,可是问题就来了,浏览器不支持,或者弹出javascript等,怎么就登不进去,还怎么报名缴费呢?
4如果你的电脑是几年前的产品,系统是XP,还没有更新的习惯,那么对于报名护士资格证考试,也许是一个好消息,因为你的浏览器不会因为版本太高而被挡在了登录界面外。下图是使用任意一款主流浏览器出现的结果,请使用ie6.0、7.0、8.0来报名,多么痛的领悟。
5如果你会卸载ie浏览器,使用控制面板--程序--程序和功能--打开或关闭window功能(左侧),取消internet exploer文件夹前面的勾选,再去安装一个低版本的ie,也许能很好的报名,可是ie8以下版本ie很少支持wun7、8 64位的,又是一个难题。
6所以,问题还是归结到这里来,如何在你的高配置电脑上运行或使用早已过气的ie8.0及以下版本。下面就来介绍两个非常简单使用的方法。
这种东西关键就是函数名和参数什么的最好别重名
给你个长的,自己照着改改吧,就是那么个意思源代码复制到一个网页就可以
SCRIPT LANGUAGE="JavaScript"
function Dyyfff()
{
this.Items = {};
}
Dyyfff.prototype.add = function(id,iArray)
{
this.Items[id] = iArray;
}
Dyyfff.prototype.Exists = function(id)
{
if(typeof(this.Items[id]) == "undefined") return false;
return true;
}
function changfffe(vfff){
var strfff="0";
for(ifff=0;ifffvfff;ifff++){ strfff+=("_"+(document.getElementById(sfff[ifff]).selectedIndex-1));};
var ssfff=document.getElementById(sfff[vfff]);
with(ssfff){
length = 0;
options[0]=new Option(opt0[vfff],opt0[vfff]);
if(vfff document.getElementById(sfff[vfff-1]).selectedIndex0 || !vfff)
{
if(Dyyfff.Exists(strfff)){
arfff = Dyyfff.Items[strfff];
for(ifff=0;ifffarfff.length;ifff++)options[length]=new Option(arfff[ifff],arfff[ifff]);
if(vfff)options[1].selected = true;
}
}
if(++vfffsfff.length){changfffe(vfff);}
}
}
var Dyyfff = new Dyyfff();
Dyyfff.add("0",["计算机/互联网/通讯类","市场/公关/广告类","教师类","服务类","文字/艺术/设计类","高级管理类"," 销售类","行政/人事/后勤类","物流/贸易/采购类","建筑/房地产类","翻译类","生产/营运/工程类","财务/审计/统计/金融类","医疗/护理类","咨询/顾问类","律师/法务类" ]);
Dyyfff.add("0_0",["首席技术执行官","技术总监经理","信息技术经理","信息技术主管","信息技术专员","项目经理主管","项目执行协调人员","系统分析员","高级软件工程师","软件工程师","系统工程师","高级硬件工程师","硬件工程师","通信技术工程师","ERP技术/应用顾问","数据库工程师","技术支持经理","技术支持工程师","品质经理","信息安全工程师","软件测试工程师","硬件测试工程师","测试员","网站营运经理/主管","网络工程师","系统管理员/网管","网页设计/制作","Web开发工程师","网页设计美工","平面设计美工","三维动画设计工程师","技术文员/助理"]);
Dyyfff.add("0_1",["市场/广告总监","市场/营销经理","市场/营销主管","市场/营销专员","市场助理","产品/品牌经理","产品/品牌主管","市场通路经理","市场通路主管","促销经理","促销主管","促销员","市场分析/调研人员","公关/会务经理","公关/会务主管 ","公关/会务专员","媒介经理","媒介人员","企业/业务发展经理","企业策划人员","广告策划/设计/文案"]);
Dyyfff.add("0_2",["教师","教学/教务管理人员","助教","讲师","家教"]);
Dyyfff.add("0_3",["美容/健身顾问","餐饮/娱乐经理","宾馆/酒店经理","领班","服务员","营业员/收银员/理货员","厨师","导游","司机","保安","寻呼员/话务员"]);
Dyyfff.add("0_4",["编辑/作家/撰稿人","记者","校对/录入","排版设计","艺术/设计总监","影视策划/制作人员","导演","摄影师","音效师","演员/模特/主持人","平面设计/美术设计","纺织/服装设计", "工业/产品设计","工艺品/珠宝设计"]);
Dyyfff.add("0_5",["首席执行官/总经理","副总经理","总监","合伙人","总裁/总经理助理"]);
Dyyfff.add("0_6",["销售总监","销售经理","区域销售经理","客户经理","渠道/分销经理","渠道主管","销售主管","销售代表","销售工程师","医药代表","保险代理","销售助理","商务经理","商务专员/助理","销售行政经理","销售行政主管","售前/售后技术服务经理","售前/售后技术服务主管","售前/售后技术服务工程师","售后/客户服务(非技术)经理","售后/客户服务(非技术)主管","售后/客户服务(非技术)专员","经销商"]);
Dyyfff.add("0_7",["行政/人事总监","人事经理","人事主管","人事专员","人事助理","招聘经理/主管","薪资福利经理/主管","薪资福利专员/助理","培训经理/主管","培训专员/助理","行政经理/主管/办公室主任","行政专员/助理","经理助理/秘书","前台接待/总机","后勤","资料管理员","电脑操作员/打字员"]);
Dyyfff.add("0_8",["物流经理","物流主管","物流专员/助理","物料经理","物料主管","采购经理","采购主管","采购员","外贸/贸易经理/主管","外贸/贸易专员/助理","业务跟单经理","高级业务跟单", "业务跟单","助理业务跟单","仓库经理/主管","仓库管理员","运输经理/主管","报关员","单证员","船务人员","快递员","理货员"]);
Dyyfff.add("0_9",["建筑工程师","结构/土建工程师","电气工程师","给排水/暖通工程师","工程造价师/预结算","建筑工程管理","工程监理","室内外装潢设计","城市规划与设计","建筑制图","施工员", "房地产开发/策划","房地产评估","房地产中介/交易","物业管理"]);
Dyyfff.add("0_10",["英语翻译","日语翻译","德语翻译","法语翻译","俄语翻译","西班牙语翻译","朝鲜语翻译","其他语种翻译"]);
Dyyfff.add("0_11",["工厂经理/厂长","总工程师/副总工程师","项目经理/主管","项目工程师","营运经理","营运主管","生产经理/车间主任","生产计划协调员","生产主管/督导/领班","技术/工艺设计经理/主管","技术/工艺设计工程师","实验室负责人/工程师","工程/设备经理","工程/设备主管","工程/设备工程师","电气/电子工程师","机械工程师","机电工程师","维修工程师","质量经理","质量主管","质量工程师","质量检验员/测试员","认证工程师","安全/健康/环境经理/主管","安全/健康/环境工程师","工程绘图员","机械制图员","化验员","技工","电工","服装打样/制版"]);
Dyyfff.add("0_12",["财务总监","财务经理","财务主管/总帐主管 ","会计经理/会计主管","会计","出纳员","财务/会计助理","财务分析经理/主管 ","财务分析员","成本经理/成本主管","成本管理员","审计经理/主管","审计专员/助理","税务经理/税务主管","税务专员","证券经纪人","投资顾问","注册分析师","投资/基金项目经理","融资经理/融资主管","融资专员","行长/副行长","风险控制","进出口/信用证结算","清算人员","外汇主管","高级客户经理/客户经理","客户主管/专员","信贷/信用调查/分析人员","银行柜台出纳","统计员"]);
Dyyfff.add("0_13",[
"医生(中\西医","医学管理人员","医药技术人员","药库主任/药剂师 ","护士/护理人员","临床协调员","临床研究员","麻醉师","心理医生","医药学检验"]);
Dyyfff.add("0_14",["专业顾问","咨询总监","咨询经理","咨询员"]);
Dyyfff.add("0_15",["律师","法务人员","律师助理","书记员"]);
//--
/SCRIPT
SCRIPT LANGUAGE = JavaScript
var sfff=["sfff1","sfff2"];
var opt0 = ["职位类别不限","不限"];
function setupfff()
{
for(ifff=0;ifffsfff.length-1;ifff++)
document.getElementById(sfff[ifff]).onchange=new Function("changfffe("+(ifff+1)+")");
changfffe(0);
}
//##联动菜单结束--
/SCRIPT
!--又是可恶的二级联动--
!----------------------------------------
SCRIPT LANGUAGE="JavaScript"
!-- ###中国省市二级联动菜单开始##如有问题请到找我!##
function Dyyeee()
{
this.Items = {};
}
Dyyeee.prototype.add = function(id,iArray)
{
this.Items[id] = iArray;
}
Dyyeee.prototype.Exists = function(id)
{
if(typeof(this.Items[id]) == "undefined") return false;
return true;
}
function changeeee(veee){
var streee="0";
for(ieee=0;ieeeveee;ieee++){ streee+=("_"+(document.getElementById(seee[ieee]).selectedIndex-1));};
var sseee=document.getElementById(seee[veee]);
with(sseee){
length = 0;
options[0]=new Option(opt0[veee],opt0[veee]);
if(veee document.getElementById(seee[veee-1]).selectedIndex0 || !veee)
{
if(Dyyeee.Exists(streee)){
areee = Dyyeee.Items[streee];
for(ieee=0;ieeeareee.length;ieee++)options[length]=new Option(areee[ieee],areee[ieee]);
if(veee)options[1].selected = true;
}
}
if(++veeeseee.length){changeeee(veee);}
}
}
var Dyyeee = new Dyyeee();
Dyyeee.add("0",["北京市","天津市","河北省","山西省","内蒙古","辽宁省","吉林省","黑龙江省","上海市","江苏省","浙江省","安徽省","福建省","江西省","山东省","河南省","湖北省","湖南省","广东省","广西自治区","海南省","重庆市","四川省","贵州省","云南省","西藏自治区","陕西省","甘肃省","青海省","宁夏回族自治区","新疆维吾尔自治区","香港特别行政区","澳门特别行政区","台湾省","其它"]);
Dyyeee.add("0_0",["东城区","西城区","崇文区","宣武区","朝阳区","丰台区","石景山区"," 海淀区(中关村)","门头沟区","房山区","通州区","顺义区","昌平区","大兴区","怀柔区","平谷区","密云县","延庆县","其他"]);
Dyyeee.add("0_1",["河东区","河西区","南开区","红桥区","塘沽区","汉沽区","大港区","西青区","津南区","武清区","蓟县","宁河县","静海县","其他"]);
Dyyeee.add("0_2",["张家口市","承德市","秦皇岛市","唐山市","廊坊市","衡水市","沧州市","邢台市","邯郸市","保定市","其他"]);
Dyyeee.add("0_3",["太原市","朔州市","大同市","长治市","晋城市","忻州市","晋中市","临汾市","吕梁市","运城市","其他"]);
Dyyeee.add("0_4",["呼和浩特市","包头市","赤峰市","呼伦贝尔市","鄂尔多斯市","乌兰察布市","巴彦淖尔市","兴安盟","阿拉善盟","锡林郭勒盟","其他"]);
Dyyeee.add("0_5",["沈阳市","朝阳市","阜新市","铁岭市","抚顺市","丹东市","本溪市","辽阳市","鞍山市","大连市","营口市","盘锦市","锦州市","葫芦岛市","其他"]);
Dyyeee.add("0_6",["长春市","白城市","吉林市","四平市","辽源市","通化市","白山市","延边朝鲜族自治州","其他"]);
Dyyeee.add("0_7",["哈尔滨市","七台河市","黑河市","大庆市","齐齐哈尔市","伊春市","佳木斯市","双鸭山市","鸡西市","大兴安岭地区(加格达奇)","牡丹江","鹤岗市","绥化市 ","其他"]);
Dyyeee.add("0_8",["黄浦区","卢湾区","徐汇区","长宁区","静安区","普陀区","闸北区","虹口区","杨浦区","闵行区","宝山区","嘉定区","浦东新区","金山区","松江区","青浦区","南汇区","奉贤区","崇明县","其他"]);
Dyyeee.add("0_9",["南京市","徐州市","连云港市","宿迁市","淮安市","盐城市","扬州市","泰州市","南通市","镇江市","常州市","无锡市","苏州市","其他"]);
Dyyeee.add("0_10",["杭州市","湖州市","嘉兴市","舟山市","宁波市","绍兴市","衢州市","金华市","台州市","温州市","丽水市","其他"]);
Dyyeee.add("0_11",["合肥市","宿州市","淮北市","亳州市","阜阳市","蚌埠市","淮南市","滁州市","马鞍山市","芜湖市","铜陵市","安庆市","黄山市","六安市","巢湖市","池州市","宣城市","其他"]);
Dyyeee.add("0_12",["福州市","南平市","莆田市","三明市","泉州市","厦门市","漳州市","龙岩市","宁德市","其他"]);
Dyyeee.add("0_13",["南昌市","九江市","景德镇市","鹰潭市","新余市","萍乡市","赣州市","上饶市","抚州市","宜春市","吉安市","其他"]);
Dyyeee.add("0_14",["济南市","聊城市","德州市","东营市","淄博市","潍坊市","烟台市","威海市","青岛市","日照市","临沂市","枣庄市","济宁市","泰安市","莱芜市","滨州市","菏泽市","其他"]);
Dyyeee.add("0_15",["郑州市","三门峡市","洛阳市","焦作市","新乡市","鹤壁市","安阳市","濮阳市","开封市","商丘市","许昌市","漯河市","平顶山市","南阳市","信阳市","周口市","驻马店市","其他"]);
Dyyeee.add("0_16",["武汉市","十堰市","襄樊市","荆门市","孝感市","黄冈市","鄂州市","黄石市","咸宁市","荆州市","宜昌市","随州市","恩施土家族苗族自治州","仙桃市","天门市","潜江市","神农架林区","其他"]);
Dyyeee.add("0_17",["长沙市","张家界市","常德市","益阳市","岳阳市","株洲市","湘潭市","衡阳市","郴州市","永州市","邵阳市","怀化市","娄底市","湘西土家族苗族自治州","其他"]);
Dyyeee.add("0_18",["广州市","清远市市","韶关市","河源市","梅州市","潮州市","汕头市","揭阳市","汕尾市","惠州市","东莞市","深圳市","珠海市","中山市","江门市","佛山市","肇庆市","云浮市","阳江市","茂名市","湛江市","其他"]);
Dyyeee.add("0_19",["南宁市","桂林市","柳州市","梧州市","贵港市","玉林市","钦州市","北海市","防城港市","崇左市","百色市","河池市","来宾市","贺州市","其他"]);
Dyyeee.add("0_20",["海口市","三亚市","其他"]);
Dyyeee.add("0_21",["渝中区","大渡口区","江北区","沙坪坝区","九龙坡区","南岸区","北碚区","万盛区","双桥区","渝北区","巴南区","万州区","涪陵区","黔江区","长寿区","合川市","永川市","江津市","南川市","綦江县","潼南县","铜梁县","大足县","璧山县","垫江县","武隆县","丰都县","城口县","开县","巫溪县","巫山县","奉节县","云阳县","忠县","石柱土家族自治县","彭水苗族土家族自治县","酉阳土家族苗族自治县","秀山土家族苗族自治县","其他"]);
Dyyeee.add("0_22",["成都市","广元市","绵阳市","德阳市","南充市","广安市","遂宁市","内江市","乐山市","自贡市","泸州市","宜宾市","攀枝花市","巴中市","资阳市","眉山市","雅安","阿坝藏族羌族自治州","甘孜藏族自治州","凉山彝族自治州县","其他"]);
Dyyeee.add("0_23",["贵阳市","六盘水市","遵义市","安顺市","毕节地区","铜仁地区","黔东南苗族侗族自治州","黔南布依族苗族自治州","黔西南布依族苗族自治州","其他"]);
Dyyeee.add("0_24",["昆明市","曲靖市","玉溪市","保山市","昭通市","丽江市","普洱市","临沧市","宁德市","德宏傣族景颇族自治州","怒江僳僳族自治州","楚雄彝族自治州","红河哈尼族彝族自治州","文山壮族苗族自治州","大理白族自治州","迪庆藏族自治州","西双版纳傣族自治州","其他"]);
Dyyeee.add("0_25",["拉萨市","那曲地区","昌都地区","林芝地区","山南地区","日喀则地区","阿里地区","其他"]);
Dyyeee.add("0_26",["西安市","延安市","铜川市","渭南市","咸阳市","宝鸡市","汉中市","安康市","商洛市","其他"]);
Dyyeee.add("0_27",["兰州市 ","嘉峪关市","金昌市","白银市","天水市","武威市","酒泉市","张掖市","庆阳市","平凉市","定西市","陇南市","临夏回族自治州","甘南藏族自治州","其他"]);
Dyyeee.add("0_28",["西宁市","海东地区","海北藏族自治州","黄南藏族自治州","玉树藏族自治州","海南藏族自治州","果洛藏族自治州","海西蒙古族藏族自治州","其他"]);
Dyyeee.add("0_29",["银川市","石嘴山市","吴忠市","固原市","中卫市","其他"]);
Dyyeee.add("0_30",["乌鲁木齐市","克拉玛依市","喀什地区","阿克苏地区","和田地区","吐鲁番地区","哈密地区","塔城地区","阿勒泰地区","克孜勒苏柯尔克孜自治州","博尔塔拉蒙古自治州","昌吉回族自治州 伊犁哈萨克自治州","巴音郭楞蒙古自治州","河子市","阿拉尔市","五家渠市","图木舒克市","其他"]);
Dyyeee.add("0_31",["香港","其他"]);
Dyyeee.add("0_31",["澳门","其他"])
Dyyeee.add("0_32",["台湾","其他"])
//--
/SCRIPT
SCRIPT LANGUAGE = JavaScript
var seee=["seee1","seee2"];
var opt0 = ["工作省份不限","工作城市不限"];
function setupeee()
{
for(ieee=0;ieeeseee.length-1;ieee++)
document.getElementById(seee[ieee]).onchange=new Function("changeeee("+(ieee+1)+")");
changeeee(0);
}
//##联动菜单结束--
/SCRIPT
select name="" style="width:180px;" id="sfff1"/select
select name="ss_find_post" style="width:180px;" id="sfff2"/select
SCRIPT language="javascript"
setupfff()
/SCRIPT
select name="ss_seee1" style="width:180px;" id="seee1" /select
select name="ss_sub_seee1" style="width:180px;" id="seee2" /select
SCRIPT language="javascript"
setupeee()
/SCRIPT
我们在微信上24小时期待你的声音
解答本文疑问/技术咨询/运营咨询/技术建议/互联网交流