This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function() { | |
| $(function() { | |
| var $banner, closeBanner, initBanner, showBanner; | |
| $banner = $('<div id="interactive-banner" />'); | |
| window.$banner = $banner; | |
| $banner.stylesheet = $('<style type="text/css">#interactive-banner{position:fixed;top:0;left:0;width:100%;height:100%;display:none;background:#fff}#interactive-banner>.close{background: url("http://cdn.vmet.ro/html5_bnr/test/close.svg") no-repeat;background-size:contain;position:absolute;top:10px;right:10px;width:20px;height:20px}</style>'); | |
| $banner.closer = $('<div class="close" />'); | |
| $banner.content = $('<div class="content" />'); | |
| $('head').append($banner.stylesheet); | |
| $banner.append($banner.closer, $banner.content).appendTo('body'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if (!window.jQuery) | |
| { | |
| /*! jQuery v2.1.3 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */ | |
| !function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var c=[],d=c.slice,e=c.concat,f=c.push,g=c.indexOf,h={},i=h.toString,j=h.hasOwnProperty,k={},l=a.document,m="2.1.3",n=function(a,b){return new n.fn.init(a,b)},o=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,p=/^-ms-/,q=/-([\da-z])/gi,r=function(a,b){return b.toUpperCase()};n.fn=n.prototype={jquery:m,constructor:n,selector:"",length:0,toArray:function(){return d.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:d.call(this)},pushStack:function(a){var b=n.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a,b){return n.each(this,a,b)},map:function(a){return this.pushStack(n.map(this |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if (!window.jQuery) { | |
| var script = document.createElement('script'); | |
| script.src = 'http://cdn.vmet.ro/html5_bnr/test/jquery-2.1.3.min.js'; | |
| script.type = 'text/javascript'; | |
| document.getElementsByTagName('head')[0].appendChild(script); | |
| } | |
| (function() { | |
| $(function() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var script = document.createElement('script'); | |
| script.src = 'http://cdn.vmet.ro/html5_bnr/test/adfox.js'; | |
| script.type = 'text/javascript'; | |
| document.getElementsByTagName('body')[0].appendChild(script); | |
| window.adfoxVars = {}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function(window, document){ | |
| var script = document.createElement('script'); | |
| script.src = 'http://cdn.vmet.ro/html5_bnr/test/adfox.js'; | |
| script.type = 'text/javascript'; | |
| document.getElementsByTagName('head')[0].appendChild(script); | |
| window.adfoxVars = { | |
| user1: 'http://cdn.vmet.ro/html5_bnr/test/banner.html' | |
| }; | |
| } | |
| )(parent, parent.document); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function(window, document){ | |
| var script = document.createElement('script'); | |
| script.src = 'http://cdn.vmet.ro/html5_bnr/test/adfox.js'; | |
| script.type = 'text/javascript'; | |
| document.getElementsByTagName('head')[0].appendChild(script); | |
| window.adfoxVars = { | |
| bannerUrl: '%imageUrl%', | |
| clickUrl: '%reference%', | |
| user1: '%user1%', | |
| user2: '%user2%', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require "axe/version" | |
| module Axe | |
| module Rails | |
| class Engine < ::Rails::Engine | |
| end | |
| end | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var AdFox_object_%random% = ''; | |
| var tracking_url_%random% = '%trackingURL%'; | |
| var AdFoxEvent_%random% = new Image(); | |
| if(tracking_url_%random% != '') { | |
| var rand_%random% = Math.floor(Math.random() * 1000000); | |
| AdFoxEvent_%random%.src = '%trackingURL%'; | |
| tracking_url_%random% = ''; | |
| } | |
| var AdFox_variable_%random% = 0; | |
| var AdFox_id_%random% = 'AdFox_banner_%random1%'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var AdFox_object_%random% = ''; | |
| var tracking_url_%random% = '%trackingURL%'; | |
| var AdFoxEvent_%random% = new Image(); | |
| if(tracking_url_%random% != '') { | |
| var rand_%random% = Math.floor(Math.random() * 1000000); | |
| AdFoxEvent_%random%.src = '%trackingURL%'; | |
| tracking_url_%random% = ''; | |
| } | |
| var AdFox_variable_%random% = 0; | |
| var AdFox_id_%random% = 'AdFox_banner_%random1%'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <style> | |
| .is-ipad-block.b-bnr-ipad { | |
| background: #fff; | |
| margin: 2rem auto 3.7rem; | |
| padding: 1rem; | |
| width: 35rem; | |
| text-align: center; | |
| } | |
| .is-ipad-block.b-bnr-ipad a { |