CINXE.COM

Bangkok Post: The world's window to Thailand

<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Bangkok Post: The world's window to Thailand</title> <meta name="keywords" content="" /> <meta name="description" content="" /> <meta name="author" content="The Post Publishing Public Company Limited" /> <meta name="robots" content="index, follow" /> <meta name="copyright" content="&copy; since 2009 The Post Publishing Public Company Limited" /> <meta name="rating" content="General" /> <meta name="revisit-after" content="1 day" /> <meta http-equiv="X-UA-Compatible" content="IE=edge"/> <link rel="stylesheet" href="/common/css/base.css?v=23.83" type="text/css" media="screen" /> <link rel="stylesheet" href="/common/css/content.css?v=23.83" type="text/css" media="screen" /> <link rel="stylesheet" href="/common/css/media-info.css?v=23.83" type="text/css" media="screen" /> <link rel="stylesheet" type="text/css" href="/common/js/fancybox/jquery.fancybox-1.3.4.css?v=23.83" media="screen" /> <!-- Google Tag Manager --> <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-MLF6WTD');</script> <!-- End Google Tag Manager --> <script type="text/javascript" src="/common/js/jquery-1.4.3.min.js?v=5.83"></script> <script type="text/javascript" src="/common/js/jquery-1.8.0.min.js?v=5.83"></script> <!-- <script type="text/javascript" src="/common/js/jquery-1.7.1.min.js?v=20.4.3"></script> --> <!-- <script type="text/javascript" src="/common/js/jquery-ui-1.7.2.custom.min.js?v=5.83"></script> --> <script type="text/javascript" src="/common/js/jquery-ui-1.11.2.custom/jquery-ui.js"></script> <script type="text/javascript" src="/common/js/fancybox/jquery.fancybox-1.3.4.pack.js?v=5.83"></script> <script type="text/javascript" src="/common/js/media-info.js?v=5.83"></script> <script type="text/javascript" src="/common/js/carousel.js?v=5.83"></script> <script type="text/javascript" src="/common/js/functions.js?v=5.83"></script> <!--[if lt IE 9]> <link rel="stylesheet" href="/common/css/ie-mediainfo.css?v=23.83" type="text/css" media="screen" /> <![endif]--> <script type="text/javascript"> $(document).ready(function() { $("a.popup").fancybox({ 'autoScale' : false, width : 1000, //height : 2000, autoCenter : false, // fancybox will scroll along the content onComplete: function () { $.fancybox.resize(); //$.fancybox.center(); } }); }); </script> </head> <body class="container saturate"> <!-- Google Tag Manager (noscript) --> <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-MLF6WTD" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> <!-- End Google Tag Manager (noscript) --> <!-- openx v2 : mediainfo --> <script type='text/javascript'> <!--// <![CDATA[ var OA_zones = { "558" : 558, "559" : 559, "556" : 556, "557" : 557, "553" : 553, "554" : 554, "555" : 555 } // ]]> --> </script><script type='text/javascript' src='/common/js/openx/bkp-spcjs.php.js?v=5.83'></script> <!-- openx v2 --> <!-- oazone here --> <link rel="stylesheet" href="https://static.bangkokpost.com/common/css/common_static.css?v=11" type="text/css" media="screen" /> <div class="div-pageBody"> <header class="header-static"> <div class="static-content"> <div class="header-panel"> <div class="bp-logo2"> <h1><a href="/"><img src="/common/img/BangkokPost.svg" class="img-fluid" alt=""></a></h1> </div> </div> </div> </header> <div class="div-pageContent"> <span class="truehits" id="truehits_div" style="display:none;"> <script type="text/javascript"> __th_page="mediainfo";</script> <script type="text/javascript"> (function() { var ga1 = document.createElement('script'); ga1.type = 'text/javascript'; ga1.async = true; ga1.src = "//lvs.truehits.in.th/dataa/s0028944.js"; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga1, s); })(); </script> </span> <script type="text/javascript"> $(document).ready(function() { $.ajaxSetup({cache: true}); // $(".truehits").appendTo($(".footer_policy")); var el = $(".truehits").detach(); el.appendTo($(".footer_policy")); el.show(); $(".truehits").show(); $.ajaxSetup({cache: false}); }); </script> <div id="wrapper"> <div class="media-info solution"> <div id="nav" class="active float"> <ul id="main-Navigation" class="float"> <li class="home "><a href="/mediainfo">Home</a></li> <li class="audience "> <a href="/mediainfo/audience-insight" >Audience &amp; Insight</a> <ul class="subCategories"> <li ><a href="/mediainfo/audience-insight/news">NEWS</a></li> <li ><a href="/mediainfo/audience-insight/business">BUSINESS</a></li> <li ><a href="/mediainfo/audience-insight/learning">LEARNING</a></li> <li ><a href="/mediainfo/audience-insight/lifestyle">LIFESTYLE</a></li> <li ><a href="/mediainfo/audience-insight/vdo">VDO</a></li> <li ><a href="/mediainfo/audience-insight/property">PROPERTY</a></li> </ul> </li> <li class="solution active"> <a class='active' href="/mediainfo/solution">Solutions</a> <ul class="subCategories"> <li class="sub1 " ><a href="/mediainfo/web-display">WEB DISPLAY</a></li> <li class="sub2 "><a href="/mediainfo/mobile-display">MOBILE DISPLAY</a></li> <li class="sub3 "><a href="/mediainfo/content-marketing">CONTENT MARKETING</a></li> <li class="sub4 "> <a href="/mediainfo/searchmkt ">SEARCH &amp; DIRECTORY MARKETING</a> <p class="dropdown"> <!--<a href="/mediainfo/searchmkt/property">Property</a>--> <a href="/mediainfo/searchmkt/auto">Auto</a> <!--<a href="/mediainfo/searchmkt/travel">Travel</a>--> <a href="/mediainfo/searchmkt/learning">Learning</a> <a href="/mediainfo/searchmkt/business">Business</a> <a href="/mediainfo/searchmkt/lifestyle">Lifestyle</a> </p> </li> <li class="sub5 "><a href="/mediainfo/job">JOBS</a></li> </ul> </li> <!-- <li class="case-study"><a href="#">Case Studies</a></li> --> <li class="inquiry "><a href="/mediainfo/inquiry">Inquiry</a></li> </ul> </div> <div class="group-header"> <h1 class="vonnes-light">SOLUTIONS</h1> </div> <div class="main-content"> <div class="solution-content"> <p>Offering various ads placements for agencies, brand marketers, SME businesses and individuals</p> <p> <span>Bangkok Post Online offers a wide variety of advertising solutions for brand marketers, agencies, small-to-medium</span> <span>business owners to strengthen your brand awareness with your desired budgets and targeted periods. We</span> <span>welcome both IAB standard ad placements and innovative customised solutions.</span> </p> <ul> <li> <a href="/mediainfo/web-display"><img src="/common/img/Media-info/bg-solutions1.jpg"></a> <h2><a href="/mediainfo/web-display">Website Display ads</a></h2> <p>You can target your campaign by reader interests, geographic in order to deliver optimum performance. On average, campaign optimised through Bangkok Post have up to 5% CTR.</p> </li> <li> <a href="/mediainfo/mobile-display"><img src="/common/img/Media-info/bg-solutions2.jpg"></a> <h2><a href="/mediainfo/mobile-display">Mobile Display ads</a></h2> <p>Bangkok Post serves advertisements to reach audiences on mobile-friendly websites and mobile &amp; tablet applications running iOS (iPhone, iPad, iPod), Andriod, BlackBerry OS. Our ads campaign management are capable to target across all platforms.</p> </li> <li class="right"> <a href="/mediainfo/content-marketing"><img src="/common/img/Media-info/bg-solutions3.jpg"></a> <h2><a href="/mediainfo/content-marketing">Content marketing</a></h2> <p>We provide an alternative way to engaged viewers with advertisements by offering branded content which blends with the normal reading experiences. We publish your content in a wide range of formats throughout our online products &amp; platforms and also increase content reach by distributing those content to social media and online newsletters.</p> </li> <li> <a href="/mediainfo/searchmkt"><img src="/common/img/Media-info/bg-solutions4.jpg"></a> <h2><a href="/mediainfo/searchmkt">Search &amp; Directory Marketing</a></h2> <p>If you own small and medium-sized businesses and you would like to sell your products to our affluent audiences with affordable budgets. We are open to advertise your brands, products and services in text and content formats in our search &amp; directory marketing solutions.</p> </li> <li> <a href="/mediainfo/job"><img src="/common/img/Media-info/bg-solutions5.jpg"></a> <h2><a href="/mediainfo/job">Online Job Advertising</a></h2> <p>Are you recruiting new top management, executives and staff? Use Bangkok Post Job Classifieds to reach the widest audiences of qualified and high profile jobseekers. For additional information on product overview and rate card, please visit Post Intelligence Job Media Network.</p> </li> </ul> </div> </div> </div> <!-- end footer --> </div><!-- end wrapper --> <div style="width: 984px; clear: both; overflow: hidden; margin: 0 auto;"> <div style="margin-top: 20px; overflow: hidden; padding-bottom: 30px; display: inline-block;"> <h3 style="font-family: 'arial_blackregular'; font-size: 14px; text-transform: uppercase; margin-bottom: 15px;">For more information or specific requirements, please contact:</h3> <ul style="clear: both;"> <li style="padding: 5px 10px 10px 0; float: left; width: 438px; border-right: 1px solid #dcdcdc; margin-right: 30px; height: 90px; overflow: hidden;"> <p style="background: url('https://static.bangkokpost.com/common/img/imgStock/bg-tell.png') no-repeat; width: 365px; height: 80px; overflow: hidden; padding: 0 0 0 70px; font-size: 14px; line-height: 18px;"> <span style="font-size: 50px; line-height: 38px; margin: 0 0 5px; display: block; color: #294782; font-family: 'arial_blackregular';">02-616-4000</span> <span style="display: block; color: #294782; font-size: 14px; margin: 0 0 2px; font-family: 'arial_blackregular';">EXT. 4440</span> <span style="display: block; color: #294782; font-size: 14px; margin: 0 0 2px; font-family: Arial,Helvetica,sans-serif;">M-F, 08.30 - 17.30</span> </p> </li> <li style="padding: 5px 10px 10px 0; float: left; width: 438px; height: 90px; overflow: hidden;"> <p style="background: url('https://static.bangkokpost.com/common/img/imgStock/bg-contactUs.png') no-repeat 0 -90px; padding-left: 75px; height: 60px; text-transform: uppercase; font-size: 14px; font-family: Arial; font-weight: normal;"><span style="display: block; padding-top: 10px;">Online Advertising Solution Contact</span><a href="mailto:nanthanas@bangkokpost.co.th" style="padding-top: 10px; display: block; color: rgb(22,63,104);">nanthanas@bangkokpost.co.th</a></p> </li> </ul> </div> </div></div> <footer class="footer-static"> <section class="footer-bottom"> <div class="static-content footer-static-content footer_policy"> &copy; 1996 - 2024 Bangkok Post Public Company Limited </div> </section> </footer> </div> <script type="text/javascript"> var str_path_utm = location.pathname; var arr_path_utm = str_path_utm.split("/"); var section_name_utm = ""; var utm_code = ""; var ads4_type = ""; var ads4_section = ""; var ads4_sub_section = ""; var is_first_page_sub_section = false; if (typeof arr_path_utm[0] === "undefined") arr_path_utm[0] = ""; if (typeof arr_path_utm[1] === "undefined") arr_path_utm[1] = ""; if (typeof arr_path_utm[2] === "undefined") arr_path_utm[2] = ""; if (typeof arr_path_utm[3] === "undefined") arr_path_utm[3] = ""; if (typeof arr_path_utm[4] === "undefined") arr_path_utm[4] = ""; if (arr_path_utm[1] == '') { utm_code = "homepage"; ads4_type = "homepage"; } else { section_name_utm = arr_path_utm[1]; if (arr_path_utm[2] == '') { utm_code = "channel_" + section_name_utm; ads4_type = "section"; ads4_section = section_name_utm; } else if ((arr_path_utm[3] == '') || (arr_path_utm[3].indexOf('page-') != -1)) { utm_code = "channel_sub_" + section_name_utm; ads4_section = section_name_utm; ads4_sub_section = arr_path_utm[2]; ads4_type = "sub_section"; } else if ($.isNumeric(arr_path_utm[3]) || $.isNumeric(arr_path_utm[4])) { utm_code = "article_" + section_name_utm; ads4_type = "article"; ads4_section = section_name_utm; } else { utm_code = "other_" + section_name_utm; ads4_type = "other"; } } var adz = new Array(); (function ($, window, document) { $(function () { /* Jquery Document ready */ // survey 2018 // var date = new Date(); // date.setTime(date.getTime() + (60 * 60 * 12 * 1000)); // var bkp_survey_val = $.cookie('bkp_survey_2018_v2'); // if (bkp_survey_val != 'bkp_survey_2018_v2') { // $('#survey-popup').show(); // $('#survey-popup').animate({ 'position': 'fixed', 'bottom': 5, 'opacity': 1 }, 1500); // $.cookie('bkp_survey_2018_v2', 'bkp_survey_2018_v2', { expires: date, path: '/' }); // } // Holiday time /* var date = new Date(); date.setTime(date.getTime() + (60 * 60 * 12 * 1000)); var bkp_holidaytime_val = $.cookie('bkp_holidaytime'); if (bkp_holidaytime_val != 'bkp_holidaytime') { $('#holidaytime-box').show(); $('#holidaytime-box').animate({ 'position': 'fixed', 'bottom': 5, 'opacity': 1 }, 1500); $.cookie('bkp_holidaytime', 'bkp_holidaytime', { expires: date, path: '/' }); } */ }); if ($('#MostUpdate').length > 0) { $('#MostUpdate a').each(function () { link_utm = $(this).attr('href') + '?utm_source=bangkopost.com&utm_medium=' + utm_code + '&utm_campaign=most_recent_box'; $(this).attr('href', link_utm); }); } if ($('.news-relate').length > 0) { $('.news-relate a').each(function () { link_utm = $(this).attr('href') + '?utm_source=bangkopost.com&utm_medium=' + utm_code + '&utm_campaign=recommend_box'; $(this).attr('href', link_utm); }); } if ($('.MostViewed').length > 0) { $('.MostViewed a').each(function () { link_utm = $(this).attr('href') + '?utm_source=bangkopost.com&utm_medium=' + utm_code + '&utm_campaign=most_view_bottom_box'; $(this).attr('href', link_utm); }); } if ($('.recent-article').length > 0) { $('.recent-article a').each(function () { link_utm = $(this).attr('href') + '?utm_source=bangkopost.com&utm_medium=' + utm_code + '&utm_campaign=most_recent_bottom_box'; $(this).attr('href', link_utm); }); } // Banner comment box article page if ($('#comment-list').length > 0) { $('#comment-list a').each(function () { if ($(this).attr('href') == '/archive/photo') { link_utm = $(this).attr('href') + '?utm_source=bangkopost.com&utm_medium=' + utm_code + '&utm_campaign=banner_comment_box'; $(this).attr('href', link_utm); } }); } // console.log('ads4_type:'+ads4_type); // console.log('ads4_section:'+ads4_section); // Ads4 to openx switch (ads4_type) { case 'homepage': OA_show_ads4(2790, ads4_type, 'highlight'); OA_show_ads4(2763, ads4_type, 'business'); OA_show_ads4(2766, ads4_type, 'tech'); OA_show_ads4(2764, ads4_type, 'auto'); OA_show_ads4(2765, ads4_type, 'property'); OA_show_ads4(2767, ads4_type, 'lifestyle_travel'); OA_show_ads4(2807, ads4_type, 'vdo'); // holiday time OA_show_ads4(2827, ads4_type, 'holidaytime2'); OA_show_ads4(2820, ads4_type, 'holidaytime3'); break; case 'section': case 'sub_section': switch (ads4_section) { case 'business': OA_show_ads4(2768, ads4_type, ads4_section); OA_show_ads4(2814, ads4_type, 'business_vdo'); break; case 'tech': // OA_show_ads4(2766, ads4_type, ads4_section); break; case 'auto': OA_show_ads4(2771, ads4_type, ads4_section); break; case 'lifestyle': OA_show_ads4(2769, ads4_type, ads4_section); break; case 'travel': OA_show_ads4(2770, ads4_type, ads4_section); break; case 'learning': OA_show_ads4(2772, ads4_type, ads4_section); break; default: break; } // vdo if (ads4_type == 'section' && ads4_section == 'vdo') { // vdo highlight (DONE) OA_show_ads4(2808, ads4_type, 'vdo_highlight'); // business (DONE) OA_show_ads4(2814, ads4_type, 'highlight-list-sub-id-164'); // local news (DONE) OA_show_ads4(2810, ads4_type, 'highlight-list-sub-id-85'); // WORLD NEWS (DONE) OA_show_ads4(2811, ads4_type, 'highlight-list-sub-id-152'); // TRAVEL (DONE) OA_show_ads4(2812, ads4_type, 'highlight-list-sub-id-160'); // FOOD & LIFESTYLE (DONE) OA_show_ads4(2813, ads4_type, 'highlight-list-sub-id-163'); // EXECUTIVE FOCUS (DONE) OA_show_ads4(2815, ads4_type, 'highlight-list-sub-id-153'); // EXPAT ADVICE (DONE) OA_show_ads4(2816, ads4_type, 'highlight-list-sub-id-161'); // LEARNING ENGLISH (DONE) OA_show_ads4(2817, ads4_type, 'highlight-list-sub-id-162'); // HEALTH & WELLNESS (DONE) OA_show_ads4(2818, ads4_type, 'highlight-list-sub-id-165'); } else if (ads4_type == 'sub_section' && ads4_section == 'vdo') { switch (ads4_sub_section) { case 'thailand' : // Done OA_show_ads4(2810, ads4_type, 'vdo-sub-section-list'); break; case 'world' : // Done OA_show_ads4(2811, ads4_type, 'vdo-sub-section-list'); break; case 'travel' : // Done OA_show_ads4(2812, ads4_type, 'vdo-sub-section-list'); break; case 'learning-english' : // Done OA_show_ads4(2817, ads4_type, 'vdo-sub-section-list'); break; case 'health-and-wellness' : // Done OA_show_ads4(2818, ads4_type, 'vdo-sub-section-list'); break; case 'business-and-property' : // Done OA_show_ads4(2814, ads4_type, 'vdo-sub-section-list'); break; case 'expat-advice' : // Done OA_show_ads4(2816, ads4_type, 'vdo-sub-section-list'); break; case 'executive-focus' : // Done OA_show_ads4(2815, ads4_type, 'vdo-sub-section-list'); break; case 'food-and-lifestyles' : // Done OA_show_ads4(2813, ads4_type, 'vdo-sub-section-list'); break; } } break; case 'article' : if (ads4_section == 'vdo') { //alert('vdo article'); OA_show_ads4(2809, ads4_type, 'vdo-article'); } break; default: break; } }(window.jQuery, window, document)); function OA_show_ads4(id, type, section) { // console.log('id:'+id); // console.log('type:'+type); // console.log('section:'+section); // if (typeof OA_output[id] === 'undefined') return; OA_show(id); if (typeof adz[id] === 'undefined') return; // Found ad if (adz[id]) { var headline = adz[id]['headline']; var intro = adz[id]['intro']; var src = adz[id]['src'].replace("http:", "https:"); var click_url = adz[id]['click_url']; var view_url = adz[id]['view_url'].replace("http:", "https:"); switch (type) { case 'homepage': // All section are the same except vdo var html_adver = '<h3><a title="' + headline + '" href="' + click_url + '">' + headline + '</a></h3><a title="' + headline + '" href="' + click_url + '" class="thumbnail"><img alt="' + headline + '" src="' + src + '" width="100"> </a><div class="detail"><p>' + intro + '<img src="' + view_url + '" /></p><span class="adver"><img src="https://static.bangkokpost.com/common/img/icons/sponsored.svg"></span></div>'; switch (section) { case 'highlight': html_adver = ' <h1><a title="' + headline + '" href="' + click_url + '">' + headline + '</a></h1> <a title="' + headline + '" href="' + click_url + '"> <img alt="' + headline + '" src="' + src + '" onerror="onErrorImageBKP($(this));" width="620" height="413"> </a> <p><span class="adver"><img src="https://static.bangkokpost.com/common/img/icons/sponsored.svg"></span>' + intro + '</p> <img src="' + view_url + '" />'; $('.highlight-hp div .viewport ul .highlight-item').eq(2).html(html_adver); break; case 'business': var element = $('.businessNews-box .highlight-list .highlight-item'); var count_content = element.length - 1; if (count_content > 0) { element.eq(count_content).html(html_adver); } break; case 'auto': var element = $('.auto-box .highlight-item'); var count_content = element.length - 1; if (count_content > 0) { element.eq(count_content).html(html_adver); } break; case 'property': var element = $('.property-box .highlight-item'); var count_content = element.length - 1; if (count_content > 0) { element.eq(count_content).html(html_adver); } break; case 'tech': var element = $('.tech-box .highlight-item'); var count_content = element.length - 1; if (count_content > 0) { element.eq(count_content).html(html_adver); } break; case 'lifestyle_travel': var element = $('.bangkok-explorer-box .highlight-list .highlight-item'); var count_content = element.length - 1; if (count_content > 0) { element.eq(count_content).html(html_adver); } break; case 'vdo': var element = $('.VideoNews .highlight-list ul li').eq(1); var html_adver_vdo = '<p><a href="' + click_url + '" title="' + headline + '"><img alt="' + headline + '" src="' + src + '" width="143" height="93"><span>&nbsp;</span></a></p><h3><a title="' + headline + '" href="' + click_url + '">' + headline + '</a><img src="' + view_url + '" /></h3><span class="adver" style="display: block;margin-left: 10px;">Sponsored</span>'; if (element.length) { element.html(html_adver_vdo); } break; case 'holidaytime2' : case 'holidaytime3' : if (section == 'holidaytime3') { var element = $('.box-holidaytime ul li').eq(2); } else { var element = $('.box-holidaytime ul li').eq(1); } var html_adver_vdo = '<a href="' + click_url + '"><img width="180" height="120" src="' + src + '" alt="' + headline + '"></a><a href="' + click_url + '">' + headline + '</a><img src="' + view_url + '" /><span class="adver" style="display: block; margin-top: 2px;">Sponsored</span>'; if (element.length) { element.html(html_adver_vdo); } break; } break; case 'section': switch (section) { // All these section are same case 'tech': case 'lifestyle': case 'auto': case 'business': case 'travel': var html_adver = '<h3><a href="' + click_url + '" title="' + headline + '">' + headline + '</a></h3><a class="thumbnail" href="' + click_url + '" title="' + headline + '"><img width="100" height="67" src="' + src + ' " alt="' + headline + '" /></a><div class="detail"><p>' + intro + '<img src="' + view_url + '" /></p><span class="adver"><img src="https://static.bangkokpost.com/common/img/icons/sponsored.svg"></span></div>'; var element = $('.highlightChannel .highlight-list .highlight-item'); var count_content = element.length - 1; if (count_content > 0) { element.eq(count_content).html(html_adver); } break; case 'learning': $('.learning-song').css('top', ''); var html_adver = '<div class="highlight-secondary adver"><h3><a href="' + click_url + '">' + headline + '</a></h3><a href="' + click_url + '"><img src="' + src + '" width="100" height="67"></a><div class="detail"><p>' + intro + '<img src="' + view_url + '" /></p><span class="adver">Sponsored</span></div></div>'; $(html_adver).insertBefore(".divide"); break; case 'business_vdo': var element = $('.VideoNews .highlight-list ul li').eq(1); var html_adver_vdo = '<p><a href="' + click_url + '" title="' + headline + '"><img alt="' + headline + '" src="' + src + '" width="143" height="93"><span>&nbsp;</span></a></p><h3><a title="' + headline + '" href="' + click_url + '">' + headline + '</a><img src="' + view_url + '" /></h3><span class="adver" style="display: block;margin-left: 10px;">Sponsored</span>'; if (element.length) { element.html(html_adver_vdo); } break; case 'vdo_highlight': // vdo here var element = $('.wp-highlight .highlight-list li').next().next().eq(0); var html_adver_vdo = '<p><a href="' + click_url + '" title="' + headline + '"><img src="' + src + '" width="220" height="124"><img src="' + view_url + '" /><span>&nbsp;</span></a></p><h3><a href="' + click_url + '" title="' + headline + '">' + headline + '</a></h3><span class="adver" style="display: block;">Sponsored</span>'; if (element.length) { element.html(html_adver_vdo); } break; case 'highlight-list-sub-id-164': case 'highlight-list-sub-id-85': case 'highlight-list-sub-id-152': case 'highlight-list-sub-id-160': case 'highlight-list-sub-id-163': case 'highlight-list-sub-id-153': case 'highlight-list-sub-id-161': case 'highlight-list-sub-id-162': case 'highlight-list-sub-id-165': var element = $('.' + section + ' li').next().next().eq(0); var html_adver_vdo = '<p><a href="' + click_url + '" title="' + headline + '"><img src="' + src + '" width="220" height="124"><img src="' + view_url + '" /><span>&nbsp;</span></a></p><h3><a href="' + click_url + '" title="' + headline + '">' + headline + '</a></h3><span class="adver" style="display: block;">Sponsored</span>'; if (element.length) { element.html(html_adver_vdo); } break; default: break; } break; case 'sub_section': var html_adver = '<a class="thumbnail" href="' + click_url + '" title="' + headline + '"><img src="' + src + '" alt="" title="" width="140" height="93" ></a><div class="detail"><h3><a href="' + click_url + '" title="' + headline + '"> ' + headline + '</a></h3><p>' + intro + '<img src="' + view_url + '" /></p><span class="adver">Sponsored</span></div>'; switch (section) { // All these section are same case 'tech': case 'lifestyle': case 'auto': case 'business': case 'travel': case 'learning': // Is first page? if (arr_path_utm[3].indexOf('page-1') != -1 || arr_path_utm[3] == '') is_first_page_sub_section = true; if (is_first_page_sub_section) { var element = $('.allStory li').eq(0); if (element.length > 0) element.html(html_adver); } break; case 'vdo-sub-section-list' : var element = $('.highlight-list li').next().next().eq(0); var html_adver_vdo = '<p><a href="' + click_url + '" title="' + headline + '"><img src="' + src + '" width="220" height="124"><img src="' + view_url + '" /><span>&nbsp;</span></a></p><h3><a href="' + click_url + '" title="' + headline + '">' + headline + '</a></h3><span class="adver" style="display: block;">Sponsored</span>'; if (element.length) { element.html(html_adver_vdo); } break; default: break; } break; case 'article' : if (section == 'vdo-article') { var element = $('.highlight-list li').next().next().eq(0); var html_adver_vdo = '<p><a href="' + click_url + '" title="' + headline + '"><img src="' + src + '" width="220" height="124"><img src="' + view_url + '" /><span>&nbsp;</span></a></p><h3><a href="' + click_url + '" title="' + headline + '">' + headline + '</a></h3><span class="adver" style="display: block;">Sponsored</span>'; if (element.length) { element.html(html_adver_vdo); } } break; } } } // function goSurvey() { // var isiPad = /ipad/i.test(navigator.userAgent.toLowerCase()); // var isAndroid = /android/i.test(navigator.userAgent.toLowerCase()); // var isiPhone = /iphone/i.test(navigator.userAgent.toLowerCase()); // if (isiPad || isAndroid || isiPhone) { // location = 'http://m.bangkokpost.com/survey/2018/'; // } else { // location = '/survey/2018/'; // } // } // function closeSurvey() { // $('#survey-popup').animate({ 'bottom': -300, 'opacity': 0 }, 1000); // $('#survey-popup').hide(); // return false; // } // function closeHolidaytimeBox() { // $('#holidaytime-box').animate({ 'bottom': -300, 'opacity': 0 }, 1000); // $('#holidaytime-box').hide(); // return false; // } </script> <!-- Survey 2018 --> <!-- <div style="width: 300px; height: 250px; overflow: hidden; position: fixed; background: url(/common/img/bg/bg_Popup-surveyPage2017.png) no-repeat; right: 30px; bottom: -300px; z-index: 2; opacity: 0; display: none;" id="survey-popup"> <div style="position: relative; width: 300px; height: 250px; overflow: hidden;" class="detail"> <a href="javascript:void(0);" onclick="closeSurvey();" class="closed" style="position: absolute; right: 8px; top: 5px; width: 11px; height: 11px;"><img src="https://static.bangkokpost.com/common/img/button/btn-closed.gif"></a> <a style="position: absolute; bottom: 30px; left: 26px; width: 250px; height: 28px; cursor: pointer;" class="click-here" href="javascript:void(0)" onclick="goSurvey()"><img src="https://static.bangkokpost.com/common/img/button/btn-Popup-survey2016.png"></a> </div> </div> --> <!-- Survey 2018 --> <!-- Holiday time --> <!-- <div style="width: 300px; height: 250px; overflow: hidden; position: fixed; background: url(/common/img/bg/box-campaign-holidaytime.png) no-repeat; right: 30px; bottom: -300px; z-index: 2; opacity: 0; display: none;" id="holidaytime-box"> <div style="position: relative; width: 300px; height: 250px; overflow: hidden;" class="detail"> <a href="javascript:void(0);" onclick="closeHolidaytimeBox();" class="closed" style="position: absolute;right: 15px;top: 5px;width: 11px;height: 11px;"> </a> <a style="position: absolute;top: 25px;left: 0;width: 300px;height: 250px;cursor: pointer;" class="click-here" href="/topics/holidaytime/activity"> </a> </div> </div> --> <!-- Holiday time --> <script type="text/javascript" src="https://static.bangkokpost.com/common/js/gdpr.js?v=3"></script> <!-- add beta --> <link rel="stylesheet" href="https://static.bangkokpost.com/common/css/custom_beta.css?v=2" type="text/css" media="screen" /> <!-- /add beta --> <script type="text/javascript" src="https://static.bangkokpost.com/common/js/switch_newdesign.js?v=14"></script> <script type="text/javascript"> var is_noti = null; function getCookieMIGRATE(name) { var v = document.cookie.match('(^|;) ?' + name + '=([^;]*)(;|$)'); return v ? v[2] : null; } function closeMigrateBox() { var d = new Date; d.setTime(d.getTime() + 31536000000); // 1 year document.cookie = "is_noti=1;domain=bangkokpost.com;path=/;expires=" + d.toGMTString(); document.getElementById("box-migrate-noti").remove(); } function show_migrate_noti() { var is_noti = getCookieMIGRATE('is_noti'); if (!is_noti) show_alert_migrate(); } function show_alert_migrate() { document.body.insertAdjacentHTML('afterbegin', '<div id="box-migrate-noti" style="background-color: #333; width: 100%; padding: 10px; "><div style="max-width: 940px; width: 100%; margin: 0 auto; position: relative;"><img src="https://static.bangkokpost.com/common/img/img-alert/alert.svg" style="width: 35px; height: 35px; position: absolute; left: 0; top: 5px;" alt=""><div style="padding:0px 50px; font-size: 13px; line-height: 20px; color: #fff;">On February 10th at 22:00 - February 10th at 22:30 (UTC+7), Bangkokpost.com will be performing some maintenance. You will not be able to access the website. We apologize for this inconvenience.</div><a href="javascript:void(0);" onclick="closeMigrateBox();" id="btn-close2"><img src="https://static.bangkokpost.com/common/img/img-alert/icon-close.svg" style="width: 38px; height: 38px; position: absolute; right: 0; top: 3px;" alt=""></a></div></div>'); } function check_show_migrate() { t = new Date(); utc_now = t.getTime() + (t.getTimezoneOffset() * 60000); check_date_begin = new Date('2020/02/10 17:00:00 GMT+0700'); utc_begin = check_date_begin.getTime() + (check_date_begin.getTimezoneOffset() * 60000); check_date_end = new Date('2020/02/10 22:00:00 GMT+0700'); utc_end = check_date_end.getTime() + (check_date_end.getTimezoneOffset() * 60000); if (utc_now > utc_begin && utc_now < utc_end ) { console.log('show man'); return true; } else { console.log('not show man'); return false; } } if (check_show_migrate()) { // Show alert here show_migrate_noti(); } </script> </body> <!-- InstanceEnd --> </html>

Pages: 1 2 3 4 5 6 7 8 9 10