Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!-- Head code -->
- <script>(function(){function a(){__clADF__.adxAllowed(0)}var b=window,c=b.document,d=c.getElementsByTagName('head')[0];d||(d=c.createElement('head'),b.appendChild(d)),b.__clADF__={state:0,loaded:0,adxAllowed:function(a){if(1!=this.loaded){n='adfoxAsyncParams',b[n]&&b[n].forEach(function(b){b.params.pk=a}),n1=n+'Scroll',b[n1]&&b[n1].forEach(function(b){b[0].params.pk=a}),n1=n+'Adaptive',b[n1]&&b[n1].forEach(function(b){b[0].params.pk=a}),n='Adaptive',b[n]&&b[n].forEach(function(b){b[0].params.pk=a}),this.state=a;var d=document.createElement('script');d.setAttribute('src','https://yastatic.net/pcode/adfox/loader.js'),d.setAttribute('async','async');var e=c.getElementsByTagName('head')[0];e||(e=c.createElement('head'),b.appendChild(e)),e.appendChild(d),this.loaded=1}}};var e=c.createElement('script');e.setAttribute('src','//clickiocdn.com/hbadx/?f=__clADF__&rt='+new Date().getTime()+'&site_id=203461&title='+encodeURIComponent(c.title)+'&r='+encodeURIComponent(c.referrer)),e.setAttribute('async','async'),e.onreadystatechange=function(){'loaded'!=this.readyState&&'complete'!=this.readyState&&setTimeout(a,0)},e.onerror=function(){setTimeout(a,0)},d.appendChild(e),setTimeout(a,3e3)})();</script>
- <!-- Body code -->
- <!-- CLICKIO AdFox unit 655465 -->
- <div id="lx_sticky">
- <button id="lx_close_button">X</button>
- <div id='adfox_158385139148659184'></div>
- </div>
- <script>
- (function(w, n) {
- w[n] = w[n] || [];
- w[n].push([{
- ownerId: 257193,
- containerId: 'adfox_158385139148659184',
- params: {
- pk: __clADF__.state,
- pp: 'ksu',
- ps: 'djlk',
- p2: 'fpxb'
- }
- }, [ 'phone'], {
- tabletWidth: 1024,
- phoneWidth: 767,
- isAutoReloads: false
- }]);})(window, 'adfoxAsyncParamsAdaptive');
- </script>
- <style>
- :root {
- --lx-bg-color: #fff;
- --lx-cross-color: #000;
- }
- #lx_sticky {
- width: 100%;
- max-height: 104px;
- padding-top: 4px;
- z-index: 2147483647;
- position: fixed;
- bottom: 0px;
- background: var(--lx-bg-color);
- text-align: center;
- transition: 300ms ease-in;
- line-height: 0px;
- box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2) !important;
- }
- #lx_close_button {
- position: absolute;
- width: 28px;
- height: 28px;
- top: -28px;
- right: 0px;
- background-size: 13px 13px;
- background-position: 9px;
- background-color: var(--lx-bg-color);
- background-repeat: no-repeat;
- box-shadow: 0 -1px 1px 0 rgba(0, 0, 0, 0.2);
- border: none;
- border-radius: 12px 0 0 0;
- outline: none;
- font-family: verdana;
- font-size: 12pt;
- color: var(--lx-cross-color);
- }
- #lx_close_button:before {
- position: absolute;
- content: "";
- top: -20px;
- right: 0px;
- left: -20px;
- bottom: 0px;
- }
- @media screen and (min-width: 769px) {
- #lx_sticky {
- display:none;
- }
- }
- </style>
- <script>
- (function(){
- var lxAdUnit = document.querySelector("#lx_sticky");
- var lxCloseButton = document.querySelector("#lx_close_button");
- function lxCloseUnit() {
- while (lxAdUnit.hasChildNodes()) {
- lxAdUnit.removeChild(lxAdUnit.lastChild);
- }
- }
- lxCloseButton.onclick = lxCloseUnit;
- })();
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement