‘); } // 送信ボタンのテキストを更新 $(“.tc-book”).val(currentLabels.submit); // ラベルが更新された後にローダーを非表示にする if (loader) {loader.style.display = ‘none’; } } }、500); // 500 ミリ秒ごとにチェックします // 10 秒後にチェックを停止します setTimeout(function() { clearInterval(checkInterval); // ウィジェットがまだロードされていない場合は、ローダーを非表示にしてエラーを表示します varloader = document.getElementById(‘tc-widget-loader’); if (loader &&loader.style.display !== ‘none’) {loader.style.display = ‘none’; console.warn(‘TC ウィジェットは 10 秒以内にロードできませんでした’) } }, 10000); });

App Storeでダウンロード

Google Play で入手

‘; pQContents += ”; pQContents += ‘ ‘; pQContents += ‘ ‘; pQコンテンツ += ‘ ‘; pQContents += ‘ /5’; pQContents += ‘ ‘; pQContents += ‘ ‘; pQContents += ‘ ‘; pQContents += ”; function getRatingSuccess(data) { if(!bvc. languageLabelsData || !bvc.selectedBrandData || bvc.layoutType === “”) { $(“#IWSfrContainer”).empty(); $(“#generatedCodeBVFRWWidget”).val(“”); false を返します。 $(“#”+bvc.bvContainerId).empty(); var brandNamePath = (bvc.selectedBrandData.alternativeBrandName) ? bvc.selectedBrandData.alternativeBrandName : bvc.brandSelector; //var logoPath=” var logoPath=” $(“#”+bvc.bvContainerId).prepend(pQContents).css(‘width’,bvc.layoutWidth); /* コンテナ div を dom に追加 */ $(‘head’).append(”); /* ページに CSS を追加 */ /* ANA ICT ロゴを追加 */ var ictLogo = ‘ $(“#”+bvc.bvContainerId+’ .’+’IWSfrLogo img’).attr(‘src’, ictLogo) /* ロゴ src を追加 */ $(“#”+bvc.bvContainerId+’ .’+’IWSfrHeader’).html(bvc. languageLabelsData.header).attr(‘style’,bvc.fontFace); /* ヘッダー言語を設定します */ // 「レビューを読む」ウィジェット ボタンを生成します /* var HotelUrl = “//www.” + bvc.domain + “/hotels/” + bvc.countryCode + “/” + bvc. languageCode + “/” + bvc.productId.toLowerCase() + “/hoteldetail/hotel-reviews?cm_mmc=iws_widget_” + bvc.productId.toUpperCase() + “&icdv=99502222″; */ var brandSel = bvc.brandSelector; if(brandSel==’ihg’){ brandSel=”6c”; varregionSel = $(“#言語コードオプション:選択済み”).attr(“データ国”); var envVal=””; if(location.host.indexOf(“qap.”)!=-1){ envVal=”qap.” }else if(location.host.indexOf(“ステージング。”)!=-1){ envVal=”ステージング。” } var HotelUrl = “//”+envVal+”www.” + bvc.domain + “/redirect?path=hd-hotel-reviews”+ “&brandCode=”+brandSel+ “&hotelCode=”+bvc.productId.toLowerCase()+ “®ionCode=”+bvc.countryCode+ “&localeCode=”+bvc. languageCode+ “&cm_mmc=iws_widget_”+ bvc.productId.toUpperCase() + “&icdv=99502222&dp=true”; console.log(“ホテルのレビュー URL : ” + ホテル URL); $(“#IWSfrContainer”).append(”); $(“#”+bvc.bvContainerId+’ .’+’IWSfrLink a’).css({ /* スタイル ボタン */ ‘background-color’ : ‘#’+headerColor, ‘color’ : ‘#’+bvc.selectedBrandData.linkColor, ‘border’ : ‘1px ソリッド #’+bvc.selectedBrandData.headerHColor, ‘border-radius’: bvc.selectedBrandData.borderRadius, ‘height’ : ‘auto’、’font-weight’ : bvc.selectedBrandData.linkWeight、’line-height’ : ’11px’、’margin-top’ : ‘5px’、’padding’ : ‘5px’、’text-align’ : ‘center’、’display’ : ‘inline-block’, ‘text-decoration’ : ‘none’ }).parent().css({ ‘margin-top’ : ’10px’ }); if (data.HasErrors === true || !data.Results || data.Results.length === 0) { /* エラーを返します (非表示) */ $(“#IWSfrContainer”).empty(); $(“#IWSfrContainer”).html(“ホテルのクチコミ評価を読み込めません。”); $(“#generatedCodeBVFRWWidget”).empty().val(“”); // $(“#”+bvc.bvContainerId+’ .IWSfrContentContainer’).attr(‘style’, ‘display: none;’).html(‘

API レスポンス エラー: ‘ + data.Errors[0].メッセージ+ ‘
API URL: ‘+urlPath+urlParams+’

‘); false を返します。 } else if ( data.TotalResults > 0 ) { /* レビュー データを返します */ var reviewResults = data.Results[0]; var reviewStats = null; if(data.includes.Products[bvc.productId]!=未定義){ reviewStats = data.includes.Products[bvc.productId]; }else if(data.includes.Products[bvc.productId.toLowerCase()]!=未定義){ reviewStats = data.includes.Products[bvc.productId.toLowerCase()]; }else{ reviewStats=””; var qPTotalReviewCount = reviewStats.TotalReviewCount; var ratingsAveNumber = parseFloat(reviewStats.ReviewStatistics.AverageOverallRating).toFixed(1); var overAllStarPath=” ‘_’)+’/5/rated.gif’; var selectedText = (reviewResults.ModeratorHighlights && bvc.moderatorhighlights)? reviewResults.ModeratorHighlights.PQ.Highlights[0].SelectedText : ”; /* データコンテンツを適切なコンテナに追加します */ $(“#”+bvc.bvContainerId).removeClass(); $(“#”+bvc.bvContainerId).addClass(bvc.bvContainerId+’_’+bvc.layoutType+’ ‘+bvc.bvContainerId+’_’+bvc.bLanguage) $(“#”+bvc.bvContainerId+’ .’+’IWSfrOverall img’).attr(‘src’, overAllStarPath); $(“#”+bvc.bvContainerId+’ .’+’IWSfrOutOf span’).html( ratingsAveNumber ); $(“#”+bvc.bvContainerId+’ .’+’IWSfrCount’).html( bvc. languageLabelsData.bbody.replace(/1/g, reviewStats.TotalReviewCount) ); $(“#”+bvc.bvContainerId+’ .’+’IWSfr’).html(selectedText); if((bvc. languageCode === ‘ar’ || bvc. languageCode === ‘he’) && bvc.layoutType === ‘horiz’) { $(“div.IWSfrLink”).css( “position”, ‘static’); } } else { /* コンテンツがない場合はコンテナ全体を非表示にする */ $(“#”+bvc.bvContainerId+’ .IWSfrContentContainer’).attr(‘style’, ‘display: none;’).html(‘

‘ + bvc.noContentResponse + ‘

‘); false を返します。 } // RedirectLite Web サイトの場合は、ホテルやサードパーティの Web サイトで使用されるコードを生成します。 if($(“#generatedCodeBVFRWWidget”).length > 0) { $(“#generatedCodeBVFRWWidget”).val( “” + ”

© 2026 ホテリエグループ赤坂株式会社

#レンタル用品 #滞在 #ANAインターコンチネンタルホテル東京

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.