\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;
}
};
// -->
วางเมาส์ที่คำศัพท์เพื่อแสดงป๊อปอัป
แสดงคำอ่าน
満月( まんげつ ) の ブランコ は 不吉( ふきつ ) しかも 最後( さいご )
満月 (まんげつ) พระจันทร์เต็มดวง, เดือนเพ็ญ, จันทร์เพ็ญ [LongdoJP] (まんげつ) (n,adj-no) full moon; (P) [EDICT]
の () (prt) endorsing and questioning the preceding statement (sentence ending particle); lamenting reflections on the preceding statement (sentence ending particle) [EDICT] () (prt) (1) although; when; and yet; despite this; in spite of; even though; but even so; but even then; however; nevertheless; for all that; notwithstanding that; (2) while; (3) if only; I wish; (4) I tell you; you should do; (5) in order to; (P) [EDICT] () (suf,prt) (literary equiv. of だけ) only; nothing but; (P) [EDICT] () (n) (See スラグ) slag [EDICT] (乃) (prt) (1) (uk) (occasionally ん) indicates possessive; (2) verb and adjective nominalizer (nominaliser); (3) substituting for "ga" in subordinate phrases; (4) (often ん) indicates a confident conclusion; (5) emotional emphasis (sentence end) (fem); (6) indicates question (sentence end); (P) [EDICT] (之) (prt) (arch) possessive (used on tombs, etc.) [EDICT] (幅) (n,n-suf,ctr) (after a number in the hito-, futa-, mi- counting system) unit of measurement for cloth breadth (30-38 cm) [EDICT] (布) (n,n-suf,ctr) (after a number in the hito-, futa-, mi- counting system) unit of measurement for cloth breadth (30-38 cm) [EDICT] (箆) (n) (1) (arch) shaft (of an arrow); (2) (arch) (See 矢竹・2) arrow bamboo (Pseudosasa japonica) [EDICT] (篦) (n) (1) (arch) shaft (of an arrow); (2) (arch) (See 矢竹・2) arrow bamboo (Pseudosasa japonica) [EDICT]
は (葉) ใบไม้ [LongdoJP] () (int) (1) (pol) yes; (2) OK (used to get attention prior to an utterance); okay; (3) giddy-up; giddap; (P) [EDICT] () (v5r,aux-v,suf) (hon) (ksb [EDICT] () (suf) (ksb [EDICT] (歯) (n) tooth; (P) [EDICT] (刃) (n) edge (of a knife or sword); (P) [EDICT] (派) (n,n-suf) clique; faction; school; (P) [EDICT] (破) (n) (See 序破急) (in gagaku or noh) middle section of a song [EDICT] (葉) (n) leaf; (P) [EDICT]
不吉 (ふきつ) (adj-na,n) ominous; sinister; bad luck; ill omen; inauspiciousness; (P) [EDICT] (bù jí, ㄅㄨˋ ㄐㄧˊ ) unlucky; inauspicious; ominous [CE-DICT]
しかも (然も) (conj) (uk) moreover; furthermore; nevertheless; and yet; (P) [EDICT]
最後 (さいご) (n,adj-no) (1) last; end; conclusion; latest; most recent; (exp) (2) (after -tara form or -ta form followed by "ga") no sooner than; right after (often having negative consequences); (3) (arch) (See 最期) one's final moments; (P) [EDICT] (zuì hòu, ㄗㄨㄟˋ ㄏㄡˋ ) final; last; finally; ultimate [CE-DICT]
เราทราบดีว่าท่านผู้ใช้คงไม่ได้อยากให้มีโฆษณาเท่าใดนัก แต่โฆษณาช่วยให้ทาง Longdo เรามีรายรับเพียงพอที่จะให้บริการพจนานุกรมได้แบบฟรีๆ ต่อไป
ดูรายละเอียดเพิ่มเติม