\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;
}
};
// -->
วางเมาส์ที่คำศัพท์เพื่อแสดงป๊อปอัป
แสดงคำอ่าน
満月( まんげつ ) まで に 3つ の 試練( しれん ) を 乗り越える( のりこえる ) の です
満月 (まんげつ) พระจันทร์เต็มดวง, เดือนเพ็ญ, จันทร์เพ็ญ [LongdoJP] (まんげつ) (n,adj-no) full moon; (P) [EDICT]
まで (迄) (prt) (uk) until; till doing; as far as; (P) [EDICT]
に (二) สอง [LongdoJP] () (prt) indicates location of action (formal literary form of "de"); at; in; (P) [EDICT] () (prt) (See に,は) for (in regard to); in order to [EDICT] () (exp) also; too; not ... either; as well; even [EDICT] () (exp) (1) (also にゃあ) (See ねば) if not ... (negative conditional); (2) (See には) for (in regard to); in order to [EDICT] (荷) (n) (1) load; baggage; cargo; freight; goods; (2) burden; responsibility; (P) [EDICT] (似) (suf) takes after (his mother) [EDICT] (丹) (n) red earth (i.e. containing cinnabar or minium); vermilion; (P) [EDICT] (土) (n) (arch) soil (esp. reddish soil) [EDICT] (尼) (n,n-suf) (abbr) (See 比丘尼) bhikkhuni (fully ordained Buddhist nun) [EDICT] (弐) (num) two (used in legal documents) [EDICT]
つ () (adv) (1) just (now); (2) quite (near); (3) (See 遂に) unintentionally; unconsciously; by mistake; against one's better judgement (judgment); (P) [EDICT] () (prt) (1) (after the -masu stem of a verb) (See つつある) while; (2) (See つつも) even though; despite; (P) [EDICT] () (adv) (1) quickly; (2) calmly; (3) intently [EDICT] (津) (suf) (1) harbour; harbor; port; (2) ferry [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]
試練 (しれん) (n) test; trial; probation; ordeal; tribulation; (P) [EDICT]
を () (prt) (arch) (See を) marks object of action, etc. (also adds emphasis) [EDICT]
乗り越える (のりこえる) (v1,vi) (1) to climb over; to get over; to ride across; (2) to surmount; to overcome; (3) to surpass; to overtake; (P) [EDICT]
です () (exp) (pol) (See か・1) indicates question (sentence end) [EDICT]
เราทราบดีว่าท่านผู้ใช้คงไม่ได้อยากให้มีโฆษณาเท่าใดนัก แต่โฆษณาช่วยให้ทาง Longdo เรามีรายรับเพียงพอที่จะให้บริการพจนานุกรมได้แบบฟรีๆ ต่อไป
ดูรายละเอียดเพิ่มเติม