\n';
// longdo login
longdo_account = new LongdoAccount();
longdo_account.initLongdoLogin();
$('a.logout-a').on('click', longdoLogout);
}
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;
}
};
// logout
function longdoLogout() {
if(longdo_account) {
longdo_account.clearUserSession();
window.location.reload()
}
}
// -->
มีผลลัพธ์ที่ไม่แสดงผลอยู่
From The Collaborative International Dictionary of English v.0.48 [gcide]:
Politics \Pol"i*tics\, n. [Cf. F. politique, Gr. ? (sc.?). See
{Politic}.]
1. The science of government; that part of ethics which has
to do with the regulation and government of a nation or
state, the preservation of its safety, peace, and
prosperity, the defense of its existence and rights
against foreign control or conquest, the augmentation of
its strength and resources, and the protection of its
citizens in their rights, with the preservation and
improvement of their morals.
[1913 Webster]
2. The management of a political party; the conduct and
contests of parties with reference to political measures
or the administration of public affairs; the advancement
of candidates to office; in a bad sense, artful or
dishonest management to secure the success of political
candidates or parties; political trickery.
[1913 Webster]
When we say that two men are talking politics, we
often mean that they are wrangling about some mere
party question. --F. W.
Robertson.
[1913 Webster]
เพิ่มคำศัพท์
ทราบความหมายของคำศัพท์นี้? กด [เพิ่มคำศัพท์] เพื่อใส่คำนี้พร้อมความหมาย เพื่อเป็นวิทยาทานแก่ผู้ใช้ท่านอื่น ๆ
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 เรามีรายรับเพียงพอที่จะให้บริการพจนานุกรมได้แบบฟรีๆ ต่อไป
ดูรายละเอียดเพิ่มเติม