\ \ \ '; var sub_element = ''; for (var i in json.NewsAndTopics.Article) { //ラベルテキスト変換 let label = json.NewsAndTopics.Article[i].Category; const news_labels = { 'ir': 'IR', 'new': 'NEW', 'press': 'PRESS', 'publicity': 'PUB', 'news': 'NEWS', 'maas': 'MaaS', 'information': 'INFO' }; if( json.NewsAndTopics.Article[i].Category in news_labels ){ label = news_labels[json.NewsAndTopics.Article[i].Category]; } sub_element += '\
  • '+label+'\ '+json.NewsAndTopics.Article[i].Date.slice(5)+'\ '+json.NewsAndTopics.Article[i].Title+'
  • '; } news_and_topics_center_block = news_and_topics_center_block.replace("##ARTICLE_TR##",sub_element) $(target).html(news_and_topics_center_block); } function ajax_news_and_topics_center(){ $.ajax( { url: "/s3/data/com/news_and_topics.json?"+Math.floor((new Date().getTime())/10000), dataType:"json",timeout:5000}) .done( function(json){ out_html_news_and_topics_center(json,"#js_news_and_topics_center_parent"); } ); } if (window.addEventListener) { window.addEventListener('DOMContentLoaded', ajax_news_and_topics_center, false); }

    使い方・ヘルプ

    よく見られる駅・経路・路線情報

    駅の情報

    経路

    路線時刻表

    駅の時刻表

    SNS

    𝕏(旧Twitter)

    YouTube

    note

    Instagram

    広告を非表示にする
    \ \
    '+json.JrdCoupon.TopArticle[0].Title+'
    \
    '+json.JrdCoupon.TopArticle[0].Title+'

    '+json.JrdCoupon.TopArticle[0].Description+'

    \
    \ \ \ '; var sub_element = ''; for (var i in json.JrdCoupon.SubArticle) { sub_element += '\
  • '+json.JrdCoupon.SubArticle[i].Title+'
  • '; } coupon_right_block = coupon_right_block.replace("##SUBARTICLE_LI##",sub_element) $(target).html(coupon_right_block); } function out_html_bimi_right(json,target){ var bimi_right_block='\ '; var sub_element = ''; for (var i in json.Bimi.SubArticle) { sub_element += '
  • \ '+json.Bimi.SubArticle[i].Title+'
    '+json.Bimi.SubArticle[i].Caption+'\
  • '; } bimi_right_block = bimi_right_block.replace("##SUBARTICLE_DIV##",sub_element) $(target).html(bimi_right_block); } function ajax_coupon_bimi_right(){ if( Math.floor(Math.random()*2) ){ $.ajax( { url: "/s3/data/com/coupon.json?"+Math.floor((new Date().getTime())/10000), dataType:"json",timeout:5000}) .done( function(json){ out_html_coupon_right(json,"#js_coupon_bimi_right_parent"); }); }else{ $.ajax( { url: "/s3/data/com/bimi.json?"+Math.floor((new Date().getTime())/10000), dataType:"json",timeout:5000}) .done( function(json){ out_html_bimi_right(json,"#js_coupon_bimi_right_parent"); }); } } if (window.addEventListener) { window.addEventListener('DOMContentLoaded', ajax_coupon_bimi_right, false); }