\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()
}
}
// -->
วางเมาส์ที่คำศัพท์เพื่อแสดงป๊อปอัป
แสดงคำอ่าน
150)\blur3 \an7 }痛み( いたみ ) を 何( なん ) 度( ど ) 感じ( かんじ ) ただ ろう 150)\blur3 }已经 ( yǐ jīng ) 感觉 ( gǎn jué ) 到 ( dào ) 几次 ( jǐ cì ) 痛楚 ( ) 了 ( le ) 呢 ( ne ) ALISE
痛み (いたみ) ความเจ็บปวด ความโศกเศร้า [LongdoJP] (いたみ) (n) pain; ache; sore; grief; distress; (P) [EDICT]
を () (prt) (arch) (See を) marks object of action, etc. (also adds emphasis) [EDICT]
何 (なに(P);なん(P)) (int,pn,adj-no) (1) what; (pref) (2) (なん only) (See 何か月) how many (some counter); (n) (3) (col) euph. for genitals or sex; (P) [EDICT] (Hé, ㄏㄜˊ ) surname He [CE-DICT] (hé, ㄏㄜˊ ) what; how; why; which; carry [CE-DICT]
度 (たび(P);たんび) (n,n-suf,ctr) time (three times, each time, etc.); times; (P) [EDICT] (ど) (n,n-suf) (1) degree (angle, temperature, scale, etc.); (ctr) (2) counter for occurrences and times; (3) strength (of alcohol); (P) [EDICT] (dù, ㄉㄨˋ ) capacity; degree; degrees (of temperature); standard [CE-DICT] (duó, ㄉㄨㄛˊ ) estimate [CE-DICT]
感じ (かんじ) (n) feeling; sense; impression; (P) [EDICT]
ただ (只) (adj-no) (1) (uk) ordinary; common; usual; (2) (esp. 只) free of charge; (3) (usu. as ただでは...) unaffected; as is; safe; (adv) (4) only; merely; just; simply; (5) (esp. 但) but; however; nevertheless; (P) [EDICT] (徒) (adj-no) (1) (uk) ordinary; common; usual; (2) (esp. 只) free of charge; (3) (usu. as ただでは...) unaffected; as is; safe; (adv) (4) only; merely; just; simply; (5) (esp. 但) but; however; nevertheless; (P) [EDICT] (但) (adj-no) (1) (uk) ordinary; common; usual; (2) (esp. 只) free of charge; (3) (usu. as ただでは...) unaffected; as is; safe; (adv) (4) only; merely; just; simply; (5) (esp. 但) but; however; nevertheless; (P) [EDICT] (常) (adj-no) (1) (uk) ordinary; common; usual; (2) (esp. 只) free of charge; (3) (usu. as ただでは...) unaffected; as is; safe; (adv) (4) only; merely; just; simply; (5) (esp. 但) but; however; nevertheless; (P) [EDICT] (直) (adj-na,n,adv) (arch) straight; direct [EDICT]
ろう (労) (n) labor; labour; toil; trouble; pains; work; effort; striving; (P) [EDICT] (婁) (n) (See 二十八宿) Chinese "Bond" constellation (one of the 28 mansions) [EDICT] (廊) (n) corridor; passage; hall [EDICT] (楼) (n) tower; turret; lookout; belvedere [EDICT] (牢) (n) prison; jail; gaol [EDICT] (老) (n) old age; age; old people; the old; the aged [EDICT] (蝋) (n) wax [EDICT] (臘) (n) (1) {Buddh} offering ceremony held on the third day of the dog after the winter solstice; (2) twelfth month of the lunisolar calendar; (3) (See 臈) year in the Buddhist order (after the completion of the first meditation retreat) [EDICT] (臈) (n) (1) {Buddh} year in the Buddhist order (after the completion of the first meditation retreat); (2) becoming more experienced with age; social status based on this experience [EDICT] (鑞) (n) solder [EDICT]
已经 (yǐ jīng, ㄧˇ ㄐㄧㄥ ) already [CE-DICT]
感觉 (gǎn jué, ㄍㄢˇ ㄐㄩㄝˊ ) to feel; to become aware of; feeling; sense; perception [CE-DICT]
到 (dào, ㄉㄠˋ ) to (a place); until (a time); up to; to go; to arrive [CE-DICT]
几次 (jǐ cì, ㄐㄧˇ ㄘˋ ) several times [CE-DICT]
了 (りょう) (n) finish; completion; understanding; (P) [EDICT] (le, ㄌㄜ˙ ) (modal particle intensifying preceding clause); (completed action marker) [CE-DICT] (liǎo, ㄌㄧㄠˇ ) to know; to understand [CE-DICT] (liǎo, ㄌㄧㄠˇ ) clear [CE-DICT] (liào, ㄌㄧㄠˋ ) look afar from a high place [CE-DICT]
呢 (ne, ㄋㄜ˙ ) (question particle for subjects already mentioned) [CE-DICT] (ní, ㄋㄧˊ ) woolen material [CE-DICT]
เราทราบดีว่าท่านผู้ใช้คงไม่ได้อยากให้มีโฆษณาเท่าใดนัก แต่โฆษณาช่วยให้ทาง Longdo เรามีรายรับเพียงพอที่จะให้บริการพจนานุกรมได้แบบฟรีๆ ต่อไป
ดูรายละเอียดเพิ่มเติม