\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;
}
};
// -->
วางเมาส์ที่คำศัพท์เพื่อแสดงป๊อปอัป
แสดงคำอ่าน
友子( ゆうこ ) 、 太陽( たいよう ) が すっかり 海( うみ ) に 沈ん( しずん ) だ 友子 ( ) 太陽 ( tài yáng ) 已經 ( yǐ jīng ) 完全 ( wán quán ) 沒入 ( ) 了 ( le ) 海面 ( hǎi miàn )
友子 (ともこ) (n) (arch) friend; comrade; companion [EDICT]
太陽 (たいよう) ดวงอาทิตย์ [LongdoJP] (たいよう) (n) sun; solar; (P) [EDICT] (tài yáng, ㄊㄞˋ ㄧㄤˊ ) sun [CE-DICT]
が () (prt) (positive sentence end) I dare say; (negative sentence end) though, honestly [EDICT] () (suf,v5r) (1) to feel (on adj-stem to represent a third party's apparent emotion); (2) to behave as if one were [EDICT] () (n) scree [EDICT] () (adv-to) (1) (on-mim) thump; thud (dull sound representing something being hit); (2) severe; difficult; hard [EDICT] (我) (n) (1) {Buddh} obstinacy; (2) atman; the self; the ego [EDICT] (画) (n) picture; drawing; painting; sketch [EDICT] (蛾) (n) moth [EDICT] (賀) (n) (See 賀の祝) congratulation [EDICT] (雅) (n,adj-na) (1) (ant [EDICT]
海 (うみ) ทะเล [LongdoJP] (うみ(P);み(ok);わた(ok);わだ(ok)) (n) sea; beach; (P) [EDICT] (hǎi, ㄏㄞˇ ) ocean; sea [CE-DICT]
に (二) สอง [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]
沈む (しずむ) (v5m,vi) to sink; to feel depressed; (P) [EDICT]
だ () (prt) (1) (as …たり…たり, after the ren'youkei forms of multiple verbs) -ing and -ing (e.g. "coming and going"); (2) (used adverbially) doing such things as...; (3) (as …たり…たり at sentence-end, after the ren'youkei forms of a repeated verb) expresses a command; (aux-v) (4) (たり only) (arch) (from とあり) (See たる) (after a noun) to be; (5) (たり only) (arch) (from 〜てあり, after the ren'youkei form of a verb) indicates completion or continuation of an action; (P) [EDICT] () (prt) (1) (fam) marks wh-question (what, where, who); (2) (chn) strengthens one's judgment or conclusion; (P) [EDICT] () (exp) if it's the case; (P) [EDICT] () (prt) even [EDICT] () (suf,prt) and; or; and the like; and so forth; and what not; (P) [EDICT] () (exp) (1) (See でしょう) seems; I think; I guess; I wonder; I hope; (2) don't you agree?; I thought you'd say that!; (P) [EDICT] () (n) (col) (abbr) (See 友達) friend [EDICT] () (n) undercut (of a machined edge) [EDICT] (駄) (pref) (1) (See 駄文・1) poor; low-grade; trivial; insignificant; worthless; (n-suf,ctr) (2) (See 一駄) load; pack; horse load; (n) (3) packhorse [EDICT] (兌) (n) dui (one of the trigrams of the I Ching [EDICT]
已經 (yǐ jīng, ㄧˇ ㄐㄧㄥ ) already [CE-DICT]
完全 (かんぜん) (adj-na,n,adj-no) perfection; completeness; (P) [EDICT] (wán quán, ㄨㄢˊ ㄑㄩㄢˊ ) complete; whole; totally; entirely [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]
海面 (かいめん) (n) sea level; (surface of) sea; (P) [EDICT] (hǎi miàn, ㄏㄞˇ ㄇㄧㄢˋ ) sea level [CE-DICT]
เราทราบดีว่าท่านผู้ใช้คงไม่ได้อยากให้มีโฆษณาเท่าใดนัก แต่โฆษณาช่วยให้ทาง Longdo เรามีรายรับเพียงพอที่จะให้บริการพจนานุกรมได้แบบฟรีๆ ต่อไป
ดูรายละเอียดเพิ่มเติม