跳到主要內容區塊
:::

臺灣宗教文化地圖

data-csp-click="MM_showHideLayers <script nonce="hAyFmTiCllIBbva1GrWjWQ==" type="text/javascript"> $(document).ready(function () { if (document.location.href.toLowerCase().indexOf("lohastrip") > -1) { $("li.En,li.Jp,li.Ko").hide(); } if (document.location.href.toLowerCase().indexOf("cultural") > -1) { $("li.Ko").hide(); } $(document).on("click", ".search", function () { var _lang = $(this).attr("rel"); if ($(".searchText").is(":visible")) { if ($(".searchText").val() == "") { alert('請輸入關鍵字'); } else { $('form').attr("action", "/html/Home/5_006.aspx?cx=" + $("#cx"+_lang).val() +"&q=" +$(".searchText").val() +""); $('form').submit(); } } else { $("." + _lang).show(); $(".search").find("img").attr("src", "/images/search_h.png"); } }) $(".searchText").keyup(function (e) { var _lang = $(this).attr("rel"); var code = (e.keyCode ? e.keyCode : e.which); if (code == 13) { $('form').attr("action", "/html/Home/5_006.aspx?cx=" + $("#cx"+_lang).val() +"&q=" +$(".searchText").val() +""); $('form').submit(); } }); }); function facebook() { window.open('http://www.facebook.com/share.php?u='.concat(encodeURIComponent(location.href))); } function twittet() { window.open('http://twitter.com/share?text='.concat(encodeURIComponent(document.title)).concat('&url=').concat(encodeURIComponent(location.href))); } function line(text) { location.href = "http://line.me/R/msg/text/?" + encodeURIComponent('@_Title') + "%0D%0A" + text; } function email() { var lh = location.href; location.href = "mailto:?subject=臺灣宗教文化地圖景點分享&body=" + location.href; } function printPage() { window.print(); } function printer() { var printPage = window.open("", "printPage", ""); printPage.document.open(); printPage.document.write(''); printPage.document.write(''); printPage.document.write(' '); printPage.document.write(''); printPage.document.write(''); printPage.document.write(document.body.innerHTML); printPage.document.write(''); printPage.document.write(''); printPage.document.close(); } function downloadPdf() { var serverUrl = '../../Control/downloadPdf.aspx?url=' + encodeURIComponent(document.location.href) + "&pageName=" + encodeURIComponent($.trim($(document).find("title").text())); var iframe = $("