\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;
}
};
// -->
วางเมาส์ที่คำศัพท์เพื่อแสดงป๊อปอัป
แสดงคำอ่าน
本日( ほんじつ ) の 大( だい ) 本命( ほんめい ) です ! セ ( ) ブ ( ) ル ( ) バ ( ) !
本日 (ほんじつ) (n-adv,n-t) today; (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]
大 (おお) (pref) (See 大・だい・2) big; large [EDICT] (だい) (pref) (1) the large part of; (2) big; large; great; (suf) (3) approximate size; no larger than; (4) (abbr) (See 大学・1) -university; (n) (5) large (e.g. serving size); loud (e.g. volume setting) [EDICT] (おおい) (pref) (1) (arch) (also written as 正) (See 従・ひろい) greater (of equal court ranks); upper; senior; (n,adj-na) (2) (See 大いなる,大いに) a great deal; very much [EDICT] (おおき) (pref) (1) (arch) great; grand; large; (2) (also written as 正) (See 従・ひろき) greater (of equal court ranks); upper; senior; (n,adj-na) (3) (See 大きに) a great deal; very much [EDICT] (dà, ㄉㄚˋ ) big; huge; large; major; great; wide; deep; oldest; eldest [CE-DICT] (dài, ㄉㄞˋ ) doctor [CE-DICT]
本命 (ほんめい) (n) (1) favorite; favourite; sure thing; likely winner; certainty; (2) one's heart's desire; (P) [EDICT]
です () (exp) (pol) (See か・1) indicates question (sentence end) [EDICT]
セ () (n) {comp} Sega [EDICT] () (n) {comp} CES [EDICT] () (n) sera; (P) [EDICT] () (n) (1) cell; (2) serge; (P) [EDICT] () (n-suf) stopper; bottle cap; (P) [EDICT] () (n) cello; violoncello; (P) [EDICT]
ブ () (n) buoy; (P) [EDICT] () (n) boogie [EDICT] () (n) Buna; brand-name synthetic rubber [EDICT] () (n) bra [EDICT] () (n,adj-no) (1) bull; (2) (abbr) (See ブルドッグ) bulldog; (3) (abbr) (See ブルドーザー) bulldozer; (4) (abbr) (See ブルジョア) bourgeois; bourgeoisie; (P) [EDICT]
ル () (n) (1) roux (mixture of butter and flour used to make sauces) (fre [EDICT] () (n) Rus' (old name of Russia) [EDICT] () (n,vs) (abbr) reportage; (P) [EDICT]
バ () (n) (1) bar; (2) VAR; (P) [EDICT] () (adv) (1) by; (int) (2) (See バイバイ・1) bye; (n) (3) (abbr) (See バイセクシュアル) bisexual; (P) [EDICT] () (n) {comp} BOW [EDICT] () (n) {comp} (computer) bug [EDICT] () (n) (1) bus; (2) bath; (3) bass; (P) [EDICT] () (n) buzz [EDICT] () (n,vs) (abbr) (See バドミントン) badminton [EDICT] () (n) {comp} BAPI [EDICT] () (n) (abbr) bulk storage [EDICT] () (n) (abbr) balcony [EDICT] () (n) (1) bun; (2) van (caravan); (3) {comp} value-added network; VAN; (P) [EDICT]
เราทราบดีว่าท่านผู้ใช้คงไม่ได้อยากให้มีโฆษณาเท่าใดนัก แต่โฆษณาช่วยให้ทาง Longdo เรามีรายรับเพียงพอที่จะให้บริการพจนานุกรมได้แบบฟรีๆ ต่อไป
ดูรายละเอียดเพิ่มเติม