1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
| <script type="text/javascript">
if (typeof(jQuery) != "function") {
document.write('<scr'+'ipt type="text/javascript" src="http://code.jquery.com/jquery-latest.js"><\/scr'+'ipt>');
}
</script>
<script type="text/javascript" src="http://sync.cmedia.s3.amazonaws.com/popup/jquery.cookie.js"></script>
<script type="text/javascript">
//delete cookie
//$.cookie('popup_cookie', null, 'path: '/', expires: 10');
$(document).ready(function() {
var COOKIE_NAME = 'popup_cookie';
var options = { path: '/', expires: 10 };
var date = new Date();
date.setTime(date.getTime() + (999 * 24 * 60 * 60 * 1000));
setTimeout(function() {
$(document).mousemove(function(e) {
if(e.pageY <= 5) {
if ($.cookie(COOKIE_NAME) == null) {
$.cookie(COOKIE_NAME, 'popup', { path: '/', expires: date });
$('#overlay').slideDown('100', function(){
$('#exit_content').show();
$('#exit_content').animate({top: "150"}, "400")
.animate({top: "100"}, "0")
});
pageTracker._trackEvent('124|bingogratis.es|viewpopup', 'Winzingo', 'viewpopup');
}
}
});
$("#close").click(function() {
$('#exit_content').animate({top: "150"}, "0")
.animate({top: "-600"}, "400", function(){
$("#exit_content").hide();
$('#overlay').slideUp();
});
});
}, 5000);
});
</script>
<style>
#exit_content { width:689px; height:459px; display:none; top:-600px; left:50%; position:absolute; z-index:1000; margin-left:-350px; border:1px solid #cacaca; }
#close { cursor: pointer; }
#overlay { filter: Alpha(Opacity=60); -moz-opacity:0.6; opacity: 0.6; width: 100%; height: 100%; background-color: #000; position: fixed; z-index: 500; top: 0px; left: 0px; display:none; }
#exit_content img { display:block; }
</style>
<div id="overlay" style="display:none;"></div>
<div id="exit_content">
<a id="close" title="Cerrar"><img src="http://sync.cmedia.s3.amazonaws.com/popup/popup1.png" alt="Cerrar" /></a>
<div>
<a target="_blank" href="http://ads.winzingo.com/redirect.aspx?pid=1857&bid=1802" title="Jugar" rel="nofollow" onClick="pageTracker._trackEvent('124|bingogratis.es|PopUp', 'Winzingo', 'PopUp');"><img src="http://ads.winzingo.com/renderImage.aspx?pid=1857&bid=1802" alt="Jugar" /></a>
</div>
</div> |
Partager