\n';
}
function getElementsByClassName(oElm, strTagName, strClassName){
var arrElements = (strTagName == "*" && document.all)? document.all : oElm.getElementsByTagName(strTagName);
var arrReturnElements = new Array();
strClassName = strClassName.replace(/\-/g, "\\-");
var oRegExp = new RegExp("(^|\\s)" + strClassName + "(\\s|$)");
var oElement;
for(var i=0; i');
$("#search").show();
$("#search").val(search_value);
setRandomSearchBoxName();
} else {
$(".for-popthai").show();
$("#logo-ads").addClass('popthai-mode');
$("#longdo-latest, #contents-showup").hide();
// $("#contents-showup").next().hide();
$("#contents-showup-popthai").show();
if (isUrl(search_value)) {
$('input.translate-type:checked').val('popthaiurl')
} else {
$('input.translate-type:checked').val('popthai')
}
$('#textboxPlaceholder').html('');
$("#search").text(search_value);
setRandomSearchBoxName();
if(obj === undefined) {
checkLan(search_value, $(".translate-language").val() == "Auto");
}
}
$("#search").focus();
return true;
}
function doSubmit(obj) {
var form_obj = obj ? obj.form : document.getElementById("dict");
$(form_obj).attr("method", 'post');
var search_value = $("#search").val();
$("#search").attr('name', "search");
$("#search").hide();
$(".for-popthai").hide();
$(".read-bt").removeClass('translate');
var inpType = $('input.translate-type:checked').val();
if (isUrl(search_value)) {
$('input.translate-type:checked').val('popthaiurl')
form_obj.submit();
}
if (inpType == 'translate') {
$("#longdo-latest, #contents-showup").show();
$("#contents-showup-popthai").hide();
$("#logo-ads").removeClass('popthai-mode');
$("#search").show();
$(".read-bt").addClass('translate');
if(search_value != "" && !obj) {
window.location = "/search/" + encodeURIComponent(search_value.replace(/\n\r?/g, ' '));
return false;
} else {
$('#textboxPlaceholder').html(' ');
setRandomSearchBoxName();
}
} else {
$(".for-popthai").show();
$("#logo-ads").addClass('popthai-mode');
$("#longdo-latest, #contents-showup").hide();
$("#contents-showup-popthai").show();
var searchinput = $('#search');
value = search_value;
$('#textboxPlaceholder').html('');
setRandomSearchBoxName();
searchinput = document.getElementById('search');
searchinput.value = value;
searchinput.focus();
searchinput.select();
if(obj === undefined) {
checkLan(search_value, $(".translate-language").val() == "Auto");
}
}
$("#search").focus();
return true;
}
function checkLan(search_value, isChange) {
var langSelect = $(".translate-language");
if(isChange) {
if(/[-ヿ]/g.test(search_value)) {
langSelect.val('JP');
} else if(/[\u3400-\u9FBF]/g.test(search_value)) {
langSelect.val('ZH');
}
$(".is-auto-language").val('true');
} else {
$(".is-auto-language").val('false');
}
$(".search-bt").prop('disabled', true);
}
function isUrl(url) {
var pattern = /^(https?:\/\/)?((([a-z\d]([a-z\d-]*[a-z\d])*)\.)+[a-z]{2,}|((\d{1,3}\.){3}\d{1,3}))(\:\d+)?(\/[-a-z\d%_.~+]*)*(\?[;&a-z\d%_.~+=-]*)?(\#[-a-z\d_]*)?$/i
if(!pattern.test(url)) {
return false;
} else {
return true;
}
};
// -->
We've let her spend the nigh t in jail. เราให้เธออยู่ในตะราง Birthmarks (2008)
We will find a place to spend the nigh t around here. เราจะหาที่พักกันแถวนี้ The Kingdom of the Winds (2008)
I loved those weekends when she'd come and spend the nigh t with her grandmother. ผมชอบสุดสัปดาห์ที่เธอมา และค้างคืนกับคุณยายของเธอ The Curious Case of Benjamin Button (2008)
Which of you superstitious old women wants to spend the nigh t in a cell? หากใครงมงายเรื่องผีสาง คงต้องไปนอนในคุกแน่คืนนี้ The Chronicles of Narnia: Prince Caspian (2008)
Do you want to spend the nigh t in the police station? คุณอยากจะใช้เวลาทั้งคืน บนสถานีตำรวจหรือ? Episode #1.8 (2008)
Suppose I have to let you spend the nigh t. ฉันคงต้องให้พวกเธอค้างคืน The Happening (2008)
So, I got on a flight in the morning, but now they're telling me it's too late to get ticketed now, so I'm gonna have to spend the nigh t at the airport just to make sure I can get on the plane. ตั๋วผมดันมีปัญหา ต้องเลื่อนเป็นพรุ่งนี้เช้า แถมเมื่อกี๊ยังมาบอกผมอีกว่า ไฟลท์ตอนเช้าเต็มแล้ว ผมต้องไปนอนเฝ้าที่สนามบินคืนนี้ Duplicity (2009)
Afraid you boys are gonna have to spend the nigh t in town. ดูเหมือนพวกนายคงต้องค้างคืนในเมืองนี้แล้วล่ะ The Monster at the End of This Book (2009)
-l'll spend the nigh t. -Okay. ผมจะนอนเฝ้าเป็นเพื่อน Phoenix (2009)
The bargaining is finished by sundown... a daughter agrees to go to bed early If her mother lets her dress up in her old gowns... a woman agrees to let her fiancy Spend the nigh t. ลูกสาวตกลงที่จะเข้านอนแต่หัวค่ำ ถ้าแม่ของเธอยอมให้เธอใส่ชุดออกงานเก่า Bargaining (2009)
Well, I can think of worse ways to spend the nigh t. ผมคิด ถึงวิธีที่แย่กว่านี้ ที่จะผ่านคืนนี้ไป Chuck Versus the Beefcake (2009)
What kind of woman are you to spend the nigh t out! ผู้หญิงอะไรกลับถึงบ้านเอาป่านนี้? Episode #1.19 (2009)
ค้างคืน [V] stay overnight, See also: spend the nigh , lodge for a night , pass the night , put up for the night , Syn. ค้าง , พักแรม , พักอาศัย , อาศัยอยู่ , พักอยู่ , ค้างแรม , Example: คนเดินทางจากกรุงเทพฯ จะมาหัวหินตอนนั้นต้องนอนค้างคืนที่ราชบุรีคืนหนึ่ง
ค้างแรม [V] stay overnight, See also: spend the night lodge for a night , pass the night , put up for the night , Syn. พักแรม
แรมคืน [V] spend the nigh t, See also: stay the night , stay overnight , lodge for the night , Syn. ค้างคืน , Example: เขาเดินทางมาถึงที่แห่งนี้ แล้วไม่รู้ว่าจะแรมคืนที่ใด เพราะมีแต่ภูเขา และทะเลทราย
ค้าง [v.] (khāng) EN: stay ; lodge ; stay overnight ; spend the nigh t ; lodge for a night ; pass the night ; put up for the night FR: loger ; passer la nuit
ค้างคืน [v.] (khāngkheūn) EN: stay overnight ; spend the nigh ; lodge for a night ; pass the night ; put up for the night FR: passer la nuit
พักแรม [v.] (phakraēm) EN: stay ; lodge ; stay overnight ; spend the nigh t ; lodge for a night ; pass the night ; put up for the night FR: séjourner ; loger ; passer la nuit
Are you satisfied with the result?
Discussions
Try PopThai this URL:
[TIME Magazine ]
[CNN ]
[heise online ]
[Slashdot Japan ]
บริการ ติดโพย (PopThai)
เป็นบริการเปิดพจนานุกรมอัตโนมัติ โดยผู้ใช้สามารถป้อนข้อความ (ทีละประโยค หรือ เป็นหน้าเลยก็ได้ ไม่จำเป็นต้องทีละคำสองคำ)
หรือป้อนเว็บ URL ระบบจะไปดึงเนื้อหาเว็บนั้นๆ มา
แล้วทำการแนบความหมายของคำหรือวลีภาษาต่างประเทศ
(ปัจจุบันสนับสนุน ภาษาอังกฤษ, ญี่ปุ่นและเยอรมัน )
ติดกับเนื้อหานั้นๆ และจะแสดงผลความหมายเมื่อเอาเมาส์ไปวางเหนือคำหนึ่งๆ
ช่วยให้สามารถเข้าใจเนื้อหาของเวบภาษาต่างประเทศได้สะดวกและรวดเร็วยิ่งขึ้น
ความหมายของคำจะปรากฏขึ้นมาเมื่อท่านเอาเมาส์ไปวางบนคำหรือวลีที่มีอยู่ในพจนานุกรม
โดยไม่จำเป็นต้องกดปุ่มใดๆ
ดังตัวอย่างในรูปข้างล่างนี้
คุณสมบัติ / Features
แสดงความหมายของคำโดยอัตโนมัติ เพียงวางเมาส์ไว้บนคำที่ต้องการทราบความหมาย
สนับสนุนเวบหลากภาษา (ปัจจุบัน ภาษาอังกฤษ ญี่ปุ่น และเยอรมัน)
ค้นหาความหมายจากพจนานุกรมหลายชุดพร้อมๆกัน ในฐานข้อมูลของ Longdo ได้แก่
Lexitron2, Hope, Nontri, Longdo อังกฤษ-ไทย, Longdo เยอรมัน-ไทย เป็นต้น
แสดงได้ทั้งความหมายของคำเดี่ยว และคำผสม ได้อย่างถูกต้อง
เช่น Secretary of State=รัฐมนตรีต่างประเทศของสหรัฐฯ (ในภาพตัวอย่าง),
High school=โรงเรียนมัธยมปลาย
แสดงความหมายของคำที่แปรรูปจากคำในพจนานุกรมได้ เช่น
เมื่อวางเมาส์ไว้บนคำว่า executed/abusing ซึ่งไม่มีในพจนานุกรม
เครื่องจะแสดงความหมายของคำว่า execute/abuse ให้โดยอัตโนมัติ
เรียกใช้งานได้ง่ายเพียงกดปุ่ม PopThai บน
Longdo Toolbar
เพื่อแนบความหมายหน้าจอที่เปิดชมอยู่ในขณะนั้น
แก้ไข Link ในหน้าที่แสดง เพื่อให้สามารถเปิดชม Link เหล่านั้นผ่านบริการ PopThai
ได้ทันทีเช่นเดียวกัน
สนับสนุนบราวเซอร์ชั้นนำทั่วไป เช่น Internet Explorer, Firefox, Chrome, Safari, Konqueror, etc.
แสดง Link ให้ผู้ใช้ช่วยป้อนความหมายสำหรับคำที่ยังไม่มีอยู่ในพจนานุกรม
ใหม่: บริการ Vocabulary แสดงสรุปรายการคำศัพท์พร้อมความหมาย สำหรับพิมพ์ออกมาอ่านได้สะดวก
วิธีใช้งาน ให้เลือกตรงตัวเลือกบริการด้านบน ให้เป็น Vocabulary แทน PopThai. (PopThai ในโหมดปกติ จะเหมาะกับการใช้งาน on-line
หน้าจอคอมพิวเตอร็ ส่วนบริการ Vocabulary เหมาะสำหรับท่านที่ต้องการพิมพ์รายการคำศัพท์และความหมายออกมาบนกระดาษไว้อ่าน off-line)
ใหม่: บริการ Pronunciation Guide แสดงคำอ่านของคำใน เว็บ หรือ text ที่ป้อนให้ ข้างบนคำนั้นๆ, นอกเหนือไป
จากการแสดง pop-up ความหมาย. วิธีใช้งาน ให้เลือกตรงตัวเลือกบริการด้านบน ให้เป็น Pronunciation.
ขณะนี้ใช้ได้กับภาษาอังกฤษ (แสดงคำอ่านภาษาอังกฤษ) และภาษาญี่ปุ่น (แสดง hiragana เหนือคันจิ). บริการนี้
ใช้ extension ของ browser ที่ชื่อ Ruby ปัจจุบันมีแค่ IE browser ที่สนับสนุน ถ้าเป็น browser อื่นๆ จะเห็นคำอ่านปรากฎในวงเล็บแทน
วิธีใช้
ท่านสามารถป้อนเนื้อหาหรือ URL ของเว็บไซต์ที่ต้องการให้แนบความหมายนี้ ในช่องใส่ข้อความค้นหาปกติ
หลังจากนั้นเลือกบริการที่ต้องการ (เช่น ถ้าป้อนข้อความ ให้เลือก PopThai (text) ถ้าป้อน URL ให้เลือก PopThai (URL)) ถ้าท่านไม่เลือกบริการ
ระบบจะเดาบริการที่ท่านต้องการ จากข้อความที่ท่านใส่เข้ามา (ว่าเป็นข้อความหรือเป็น URL) โดยอัตโนมัติ,
จากนั้นกด Submit เป็นอันเสร็จ
ในกรณีที่ท่านใส่ URL ระบบจะไปทำการดาวน์โหลดเนื้อหาของหน้านั้นๆ มาและแนบความหมาย พร้อมแก้ไขลิงค์ต่างๆ ให้เป็นผ่านบริการ PopThai เ
พื่อที่ว่าเมื่อท่านกดที่ลิงค์ใดๆ ต่อไปจากเพจนั้นๆ ก็จะมีการแนบความหมายมาให้ด้วยในทันที
เพื่อเพิ่มความสะดวกในการใช้ท่านสามารถใช้ PopThai ผ่าน Longdo Toolbar โดยเมื่อท่านเปิดดูเว็บไซต์ใดๆ อยู่ตามปกติ และต้องการใช้บริการ PopThai สำหรับ
หน้านั้นๆ สามารถทำได้ทันที โดยคลิกที่ปุ่ม PopThai บน Toolbar รายละเอียดเพิ่มเติมโปรดอ่านที่ Longdo Toolbar
คำเตือน ในกรณีของ URL นี้ ถึงแม้ทางผู้ดูแลระบบลองดูจะได้ทำการทดสอบกับหลายเว็บไซต์
แล้วก็ตาม ยังมีบางเว็บไซต์ที่ข้อมูลเวลาที่ระบบไปโหลดมาจะแตกต่างจากที่ท่านเปิดดูโดยใช้ browser โดยตรง โปรดระวังด้วย และไม่ควรใช้กับหน้าเว็บไซต์ที่
ต้องการความถูกต้องสูง)
Problems & TODO
inflected word support (German)
support HTTP POST
other foreign language support (Japanese, French)