\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();
$('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, .read-bt-accent").removeClass('translate');
var inpType = $('input.translate-type:checked').val();
if (inpType == 'translate') {
$("#longdo-latest, #contents-showup").show();
$("#contents-showup-popthai").hide();
$("#logo-ads").removeClass('popthai-mode');
$("#search").show();
$(".read-bt, .read-bt-accent").addClass('translate');
if(search_value != "" && !obj) {
window.location = "/search/" + escape(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;
}
};
// -->
มีผลลัพธ์ที่ไม่แสดงผลอยู่ in fact,
He is the president of the company in fact,
if not in name. in fact,
In fact,
an artist lacking in confidence and fortitude would lose focus after 2 or 3 hours.in fact,
In fact,
he can't swim well.in fact,
In fact,
he even loved her.in fact,
In fact,
he has never been to New York.in fact,
In fact,
he is a nice fellow.in fact,
In fact,
he is sick.in fact,
In fact,
I am happy.in fact,
In fact,
I'll even call George at the office and tell him he ought to come home and help out.in fact,
In fact,
I've heard that long hair is more likely to go bald!in fact,
In fact,
I was there.in fact,
In fact,
the inhabitants have been exposed to radioactive rays.in fact,
In fact,
the man got angry.in fact,
In fact,
the opposite is more likely to occur.in fact,
In fact,
there is a joke about passport photos: If you really look like the picture in your passport,
you certainly need a vacation!in fact,
In fact,
the sea has already risen 10 centimeters since the beginning of this century.in fact,
In fact,
they have many of the same feelings that people have.in fact,
In fact,
this does not seem to be true at all,
except in a very trivial sense.in fact,
In fact,
this is a major means of bureaucratic control.in fact,
In fact,
to move at any speed the polar bear uses twice as much energy as do most other mammals.in fact,
In fact,
you are quite right.in fact,
In fact,
you could do anything you wanted in order to get or keep the ball.in fact,
It was very expensive; in fact,
I paid 100 dollars. in fact,
She doesn't hate him. In fact,
she loves him. in fact,
She said she was OK. In fact,
she was terribly injured. in fact,
There are some people who enjoy work - in fact,
they love to work. in fact,
"There is a tide" is,
in fact,
from a passage in Shakespeare's Julius Caesar. in fact,
We've had no rain for ages; in fact,
not since the beginning of April.
เพิ่มคำศัพท์
ทราบความหมายของคำศัพท์นี้? กด [เพิ่มคำศัพท์] เพื่อใส่คำนี้พร้อมความหมาย เพื่อเป็นวิทยาทานแก่ผู้ใช้ท่านอื่น ๆ
Are you satisfied with the result?
Discussions
บริการ ติดโพย (PopThai)
เป็นบริการเปิดพจนานุกรมอัตโนมัติ โดยผู้ใช้สามารถป้อนข้อความ ทีละประโยค หรือ เป็นหน้าเลยก็ได้ ไม่จำเป็นต้องทีละคำสองคำ
ระบบจะทำการแนบความหมายของคำหรือวลีภาษาต่างประเทศ
(ปัจจุบันสนับสนุน ภาษาอังกฤษ, ญี่ปุ่นและเยอรมัน )
ติดกับเนื้อหานั้นๆ และจะแสดงผลความหมายเมื่อเอาเมาส์ไปวางเหนือคำหนึ่งๆ
ช่วยให้สามารถเข้าใจเนื้อหาของเวบภาษาต่างประเทศได้สะดวกและรวดเร็วยิ่งขึ้น
ความหมายของคำจะปรากฏขึ้นมาเมื่อท่านเอาเมาส์ไปวางบนคำหรือวลีที่มีอยู่ในพจนานุกรม
โดยไม่จำเป็นต้องกดปุ่มใดๆ
ดังตัวอย่างในรูปข้างล่างนี้
คุณสมบัติ / 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)
เราทราบดีว่าท่านผู้ใช้คงไม่ได้อยากให้มีโฆษณาเท่าใดนัก แต่โฆษณาช่วยให้ทาง Longdo เรามีรายรับเพียงพอที่จะให้บริการพจนานุกรมได้แบบฟรีๆ ต่อไป
ดูรายละเอียดเพิ่มเติม