|
|
Dòng 3: |
Dòng 3: |
| <div class="col-md-8 col-lg-9 col-xl-10"> | | <div class="col-md-8 col-lg-9 col-xl-10"> |
| <div style="padding-top:0.5em; padding-bottom:0.2em; padding-left:0.5em; padding-right:0.75em;"> | | <div style="padding-top:0.5em; padding-bottom:0.2em; padding-left:0.5em; padding-right:0.75em;"> |
− | <div class="mb-2"><html><div id="dangnho-centerpost-fullwidth" class="dangnho-container dangnho-type-code" data-adid="fullwidth" data-type="code"><span id="dangnho-centerpost-fullwidth-place"></span> | + | <div class="mb-2"><div id="dangnho-centerpost-fullwidth" class="dangnho-container dangnho-type-code" data-adid="fullwidth" data-type="code"></div></div> |
− | <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
| |
− | <script type="text/javascript">$( document ).ready(function() {
| |
− | setTimeout(function(){
| |
− | var betterads_screen_width = document.body.clientWidth;
| |
− | var betterads_el = document.getElementById("dangnho-centerpost-fullwidth");
| |
− | if (betterads_el.getBoundingClientRect().width) {
| |
− | betterads_el_width_raw = betterads_el_width = betterads_el.getBoundingClientRect().width;
| |
− | } else {
| |
− | betterads_el_width_raw = betterads_el_width = betterads_el.offsetWidth;
| |
− | }
| |
− | if (betterads_screen_width > 1140) {
| |
− | document.getElementById("dangnho-centerpost-fullwidth-place").innerHTML = '<ins class="adsbygoogle" style="display:inline-block;width:' +betterads_el_width_raw +'px;" data-ad-client="ca-pub-2020395524734997" data-ad-slot="6056976698" data-ad-format="horizontal" data-full-width-responsive="true"></ins>';
| |
− | (adsbygoogle = window.adsbygoogle || []).push({});
| |
− | } else if (betterads_screen_width > 1019 && betterads_screen_width <= 1140) {
| |
− | document.getElementById("dangnho-centerpost-fullwidth-place").innerHTML = '<ins class="adsbygoogle" style="display:inline-block;width:' +betterads_el_width_raw +'px" data-ad-client="ca-pub-2020395524734997" data-ad-slot="6056976698" data-full-width-responsive="true" data-ad-format="horizontal"></ins>';
| |
− | (adsbygoogle = window.adsbygoogle || []).push({});
| |
− | } else if (betterads_screen_width > 800 && betterads_screen_width <= 1019) {
| |
− | document.getElementById("dangnho-centerpost-fullwidth-place").innerHTML = '<ins class="adsbygoogle" style="display:inline-block;width:' +betterads_el_width_raw +'px" data-ad-client="ca-pub-2020395524734997" data-ad-slot="6056976698" data-full-width-responsive="true" data-ad-format="horizontal"></ins>';
| |
− | (adsbygoogle = window.adsbygoogle || []).push({});
| |
− | } else if (betterads_screen_width <= 800) {
| |
− | document.getElementById("dangnho-centerpost-fullwidth-place").innerHTML = '<ins class="adsbygoogle" style="display:inline-block;width:' +betterads_el_width_raw +'px" data-ad-client="ca-pub-2020395524734997" data-ad-slot="6056976698" data-full-width-responsive="true" data-ad-format="rectangle"></ins>';
| |
− | (adsbygoogle = window.adsbygoogle || []).push({});
| |
− | }
| |
− | }, 1000);
| |
− | }) </script></div></html></div>
| |
| | | |
| | | |