clickio icon

mixnews.lv adfox sticky desktop

clickio | PRO | 03/29/22 11:12:25 AM UTC (Edited) | 0 ⭐ | 1652 👁️ | Never ⏰ | []
HTML |

1.42 KB

|

None

|

0 👍

/

0 👎

<div id="bigBanner" style="bottom: 0px; position: fixed; z-index: 99999998; width: 100%; max-height: 100px; left: 0px; background-color: #ffffff;">
<div id="stickyClose" style="z-index: 99999999;width: 30px;height: 30px;position: absolute;top: -15px;right: 0px;border: 1px solid rgba(0,0,0,0.5);border-radius: 4px; display: none">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40"><rect fill="#fff" x="0" y="0" rx="4" width="100%" height="100%"></rect><polygon points="27,13.7 26.3,13 20,19.3 13.7,13 13,13.7 19.3,20 13,26.3 13.7,27 20,20.7 26.3,27 27,26.3 20.7,20"></polygon></svg>
</div>
 
<script type="text/javascript">
var stickyClose = document.getElementById("stickyClose");
 
function render () {
    stickyClose.style.display = 'unset';
    stickyClose.addEventListener ('click', function () {
        var bigBanner = document.getElementById('bigBanner');
        bigBanner.parentNode.removeChild (bigBanner);});
}
 
</script>
 
<!-- CLICKIO AdFox unit 686432 -->
<div id='adfox_163966517069915399'></div>
<script>
      window.yaContextCb.push(()=>{
    Ya.adfoxCode.createScroll({
        ownerId: 257193,
        containerId: 'adfox_163966517069915399',
        params: {
            pp: 'rwg',
            ps: 'fjja',
            p2: 'fpxb'
        }
    }, ['desktop','tablet'],{
      tabletWidth: 1024,
      phoneWidth: 767,
      isAutoReloads: false
    })
  })
</script>
</div>

Comments