การแปล -  ไทย วิธีการพูด





0/5000
จาก: -
เป็น: -
ผลลัพธ์ (ไทย) 1: [สำเนา]
คัดลอก!
! "); เอกสาร
เขียน (""); for (i = 0; ฉัน month_array.length {ถ้า (ตอนนี้ getmonth () = i) . {document.write ("" month_array [i]);} อื่น {document.write (" document.write (""); document.write (" "); เอกสาร เขียน (""); for (i = 1950; ฉัน <3000; i) / / ส่วนที่กำหนดให้แสดงปีพ ศ {ถ้า (now.getyear () = i) {document.write ("" i);.} อื่น {document.write ("ค่าตัวเลือก <=" i "เลือก>" i);}} document.write (" "); เอกสารเขียน ("");
document.write (" จ color=black> อ color=black> พ color=black> พฤ ศ ส อ ");
document.write ("");
สำหรับ (J = 0; J <6;ญ) / / ส่วนที่ให้แสดงวันและไฮไลท์ที่ทำวันสีดำ

{for (i = 0; ฉัน <7; i)

{document.write (" ")}

show_date = วันใหม่ ();

ฟังก์ชั่น set_cal (show_date)
{
begin_day = วันที่ใหม่ (show_date.getyear () show_date.getmonth (), 1);
begin_day_date = begin_day.getday (); end_day
= วันที่ใหม่ (show_date.getyear () show_date.getmonth () 1,1); count_day
= (end_day - begin_day) / 1000/60/60/24;
input_table ( begin_day_date, count_day);}

set_cal (show_date);

input_table ฟังก์ชั่น (เริ่มนับ)

{init ();
J = 0;
(ถ้า begin! = 0) {i = เริ่มต้น-1;} อื่น {i = 6}
สำหรับ (c = 1; C <นับ 1; c)) / / ส่วนที่ให้แสดงวันที่

{colum_name = Eval ("d" i "r" J);
ถ้า ((now.getdate () == c) && (show_date.getmonth () == now.getmonth ()) && ((show_date.getyear ) == now.getyear ())) {colum_name.style.backgroundcolor = "สีฟ้า"; colum_name.style.color = "สีขาว";};
colum_name.innertext = c;
i;
ถ้า (i == 7 ) {i = 0; J;}}

}

ฟังก์ชัน init ()

{สำหรับ (J = 0; J <6; ญ)

{for (i = 0; ฉัน <7; i)
{
colum_name = Eval ("d" i "r" J);
colum_nameinnerText = "-";
colum_name.style.backgroundcolor = "";
colum_name.style.color = "";}


}}

change_month ฟังก์ชั่น (sel_month)
{
show_date = วันที่ใหม่ (show_date.getyear () sel_month, 1);
set_cal (show_date);}


change_year ฟังก์ชั่น (sel_year)
{
sel_year = sel_year.value; show_date
= วันที่ใหม่ (sel_year, show_date.getmonth (), 1);
set_cal (show_date);} ปลาย
/ / ->

การแปล กรุณารอสักครู่..
ผลลัพธ์ (ไทย) 2:[สำเนา]
คัดลอก!

");
เอกสารเขียน (" < เลือกชื่อ =เดือน onchange=change_month(this.options.selectedIndex) > ");
สำหรับ (ฉัน = 0 ฉัน < month_array.length;i) //ส่วนที่ให้แสดงเดือน
{
ถ้า (now.getMonth() ! =ผม)
{ document.write (" " month_array[i]); }
อื่น
{ document.write (" < เลือกค่า =" ฉัน "เลือก > " month_array[i]); }

}
document.write("");
document.write (" ");
เอกสารเขียน (" < เลือกชื่อ =ปี onchange=change_year(this.options[this.options.selectedIndex]) > ");
สำหรับ (ฉัน = 1950 ฉัน < 3000 ฉัน) //ส่วนที่กำหนดให้แสดงปีพ.ศ.
{
ถ้า (now.getYear() ! =ผม)
{ document.write (" " i); }
อื่น
{ document.write (" < เลือกค่า = " ฉัน "เลือก > " i); }
}
document.write (" ");

เอกสารเขียน (" < ตาราง bgcolor =เส้นขอบสีขาว = 0 cellspacing = 0 cellpading =ความกว้าง 0 = 100% > ");
document.write ("จ อ พ พฤ ศ ส อ ");
document.write (" ");
สำหรับ (j = 0 เจ < 6j) //ส่วนที่ให้แสดงวันและทำเน้นวันสีดำ
{
สำหรับ (ฉัน = 0 ฉัน < 7 )
{
document.write (" ")
}
document.write("");
}

document.write("");

document.write (" ");

var show_date =()วันใหม่;

ทำงาน set_cal (show_date)
{
begin_day =วันใหม่ (show_date.getYear(),show_date.getMonth(),1);
begin_day_date = begin_day.getDay ();
end_day =วันใหม่ (show_date.getYear(),show_date.getMonth() 1.1);
count_day = (end_day - begin_day) / 1000/60/60/24;
input_table (begin_day_date, count_day);
}
set_cal (show_date);

ทำงาน input_table (เริ่ม จำนวน)
{
init ();
j = 0;
ถ้า (เริ่ม! = 0) {ฉัน =เริ่มต้น-1; }อื่น {ฉัน = 6 }
สำหรับ (c = 1; c < นับ 1; c)) //ส่วนที่ให้แสดงวันที่
{
colum_name = eval ("d" เจไอ "r");
ถ้า ((now.getDate() == c)&&(show_date.getMonth() == now.getMonth())&&(show_date.getYear() == now.getYear())) { colum_name.style.backgroundColor = " blue";colum_name.style.color = "สีขาว"; };
colum_name.innerText = c;
ฉัน
ถ้า (ฉัน== 7) {ฉัน = 0; j ;}
}
}

ฟังก์ชัน init ()
{
สำหรับ (j = 0 เจ < 6; j)
{
สำหรับ (ฉัน = 0 ฉัน < 7 )
{
colum_name = eval ("d" เจไอ "r");
colum_nameinnerText = "-";
colum_name.style.backgroundColor = "";
colum_name.style.color = "";
}
}
}

ทำงาน change_month (sel_month)
{
show_date =วันใหม่ (() show_date.getYear, sel_month, 1);
set_cal (show_date);
}

ทำงาน change_year (sel_year)
{
sel_year = sel_year.value;
show_date = Date(sel_year,show_date.getMonth(),1);
set_cal(show_date) ใหม่;
}
/ / สิ้นสุด-->


การแปล กรุณารอสักครู่..
ผลลัพธ์ (ไทย) 3:[สำเนา]
คัดลอก!
< ภาษา สคริปต์=" javascript ">
ตัวแทนจำหน่าย( VAR )ตอนนี้=ใหม่วันที่();
VAR month_array =ใหม่ Array("มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม"," name = date_list ><โต๊ะ bgcolor =สีเงิน>< TR >< TD >");
เอกสาร.เขียน(“<เลือกชื่อ=เดือน OnChange = change_month (นี้.ตัวเลือก. selectedindex )>");
เพื่อ( i = 0 ; I < month_array .ความยาว; I )//ส่วนที่ให้แสดงเดือน

{หาก(ในตอนนี้. getmonth ()!= I )
{เอกสาร.เขียน(“<ตัวเลือก VALUE ="">" month_array [ i ]);}

ตามมาตรฐานอื่น{เอกสาร.เขียน(“<ทางเลือกนี้ได้มอบความคุ้มค่า=""ที่เลือก>" month_array [ i ]);}

}
เอกสาร.เขียน(“");
เอกสาร.เขียน(“< TD >");
เอกสาร.เขียน(“<เลือกชื่อ=ปี OnChange = change_year (นี้.ตัวเลือก[นี้.ตัวเลือก. selectedindex ])>");
เพื่อ( i = 1950 ; I < 3000 ; I )//ส่วนที่กำหนดให้แสดงปีพ.ศ.
{
หาก(. getyear ()!= I )
{เอกสาร.เขียน(“<ทางเลือกนี้ได้มอบความคุ้มค่า="">" I );}

ตามมาตรฐานอื่น{เอกสาร.เขียน(“<ตัวเลือก VALUE =""ที่เลือก>" I );}}

เอกสาร.เขียน(“< TR >< td colspan = 2 ><ศูนย์กลาง>");

เอกสาร.เขียน(“<โต๊ะ bgcolor =สีขาว border = 0 cellspacing = 0 cellpading = 0 ความกว้าง= 100% >< TR bgcolor =สีเทา align = Center >");
เอกสาร.เขียน(“< TD >< font color =สีดำ>จ< TD >< font color =สีดำ>โ< TD >< font color =สีดำ>พ< TD >< font color =สีดำ>พฤ< TD >< font color =สีดำ>ศ< TD >< font color =สีดำ>ส< TD >< font color =สีดำ>โ");
เอกสาร.เขียน(“< TR >");
สำหรับ( J = 0 ; J < 6 ;J )//ส่วนที่ให้แสดงวันและทำไฮไลต์วันสีดำ{

สำหรับ( I = 0 ; I < 7 ; I ){

เอกสาร.เขียน(“< td align = Center id = D "ฉัน" R " J ">")}

เอกสาร.เขียน(“");
}

เอกสาร.เขียน(“");

เอกสาร.เขียน(“");

VAR show_date =ใหม่วันที่();

ฟังก์ชัน set_cal ( show_date ){

begin_day =ใหม่วันที่( show_date . getyear (), show_date . getmonth (), 1 );
begin_day_date = begin_day . getday ();
end_day =ใหม่วันที่( show_date . getyear (), show_date . getmonth (,) 1,1 );
count_day =( end_day - begin_day )/ 1000/60/60/24 ;
input_table ( begin_day_date , count_day );
}
set_cal ( show_date );

ฟังก์ชัน input_table (เริ่ม,จำนวน)
{
เริ่มการทำงาน();
j = 0 ;
หาก(เริ่ม!= 0 ){ I =เริ่ม 1 ;}อื่น{ผม= 6 }
( C = 1 ; C <จำนวน 1 ; C ))//ส่วนที่ให้แสดงวันที่
{
colum_name =ใช้ eval (" D "ฉัน" R " J );
หาก((ตอนนี้. getdate ()== c )&&( show_date . getmonth ()==ธงชาติในตอนนี้. getmonth ())&&( show_date . getyear ()==ตอนนี้. getyear ())){ colum_name .สไตล์. backgroundcolor ="สีฟ้า"; colum_name .สไตล์.สี="สีขาว";};
colum_name . innertext = C ;
ผม;
หาก( I == 7 ){ I = 0 ; J ;}}

}

ฟังก์ชันการเริ่มต้นการทำงาน()
{
สำหรับ( J = 0 ; J < 6 ; J )
{
สำหรับ( I = 0 ; I < 7 ;ฉัน)
{
colum_name =ใช้ eval (" D "ฉัน" R " J );
colum_name .innertext =" - ";
colum_name สไตล์. backgroundcolor ="";
colum_name .สไตล์.สี="";

}}}


ฟังก์ชัน change_month ( sel_month )
{
show_date =ใหม่วันที่( show_date . getyear (), sel_month, 1 );
set_cal ( show_date );
}

ฟังก์ชัน change_year ( sel_year )
{
sel_year = sel_year .ค่า;
show_date =ใหม่วันที่( sel_year , show_date . getmonth (), 1 );
set_cal ( show_date );
}
//สิ้นสุด - - >


การแปล กรุณารอสักครู่..
 
ภาษาอื่น ๆ
การสนับสนุนเครื่องมือแปลภาษา: กรีก, กันนาดา, กาลิเชียน, คลิงออน, คอร์สิกา, คาซัค, คาตาลัน, คินยารวันดา, คีร์กิซ, คุชราต, จอร์เจีย, จีน, จีนดั้งเดิม, ชวา, ชิเชวา, ซามัว, ซีบัวโน, ซุนดา, ซูลู, ญี่ปุ่น, ดัตช์, ตรวจหาภาษา, ตุรกี, ทมิฬ, ทาจิก, ทาทาร์, นอร์เวย์, บอสเนีย, บัลแกเรีย, บาสก์, ปัญจาป, ฝรั่งเศส, พาชตู, ฟริเชียน, ฟินแลนด์, ฟิลิปปินส์, ภาษาอินโดนีเซี, มองโกเลีย, มัลทีส, มาซีโดเนีย, มาราฐี, มาลากาซี, มาลายาลัม, มาเลย์, ม้ง, ยิดดิช, ยูเครน, รัสเซีย, ละติน, ลักเซมเบิร์ก, ลัตเวีย, ลาว, ลิทัวเนีย, สวาฮิลี, สวีเดน, สิงหล, สินธี, สเปน, สโลวัก, สโลวีเนีย, อังกฤษ, อัมฮาริก, อาร์เซอร์ไบจัน, อาร์เมเนีย, อาหรับ, อิกโบ, อิตาลี, อุยกูร์, อุสเบกิสถาน, อูรดู, ฮังการี, ฮัวซา, ฮาวาย, ฮินดี, ฮีบรู, เกลิกสกอต, เกาหลี, เขมร, เคิร์ด, เช็ก, เซอร์เบียน, เซโซโท, เดนมาร์ก, เตลูกู, เติร์กเมน, เนปาล, เบงกอล, เบลารุส, เปอร์เซีย, เมารี, เมียนมา (พม่า), เยอรมัน, เวลส์, เวียดนาม, เอสเปอแรนโต, เอสโทเนีย, เฮติครีโอล, แอฟริกา, แอลเบเนีย, โคซา, โครเอเชีย, โชนา, โซมาลี, โปรตุเกส, โปแลนด์, โยรูบา, โรมาเนีย, โอเดีย (โอริยา), ไทย, ไอซ์แลนด์, ไอร์แลนด์, การแปลภาษา.

Copyright ©2024 I Love Translation. All reserved.

E-mail: