Preciso urgentemente que esse popup aparecesse com atraso de uns 15 segundos depois que a pessoa entra no site, pois ele aparece assim que o usuario entra e 90% acha que é virus... por favor me ajudem... o codigo é esse abaixo...
FENIX GRAFICA
<script src='http://yourjavascript.com/01114252230/jquery-min.js'></script>
<script src="http://yourjavascript.com/18530532124/jquery-colorbox-min.js"></script>
<script type="text/javascript">
function createCookie(name,value,days) {
if (days) {
var date = new Date();
date.setTime(date.getTime()+(days*2*60*60*1000));
var expires = "; expires="+date.toGMTString();
}
else var expires = "";
document.cookie = name+"="+value+expires+"; path=/";
}
function readCookie(name) {
var nameEQ = name + "=";
var ca = document.cookie.split(';');
for(var i=0;i < ca.length;i++) {
var c = ca; while (c.charAt(0)==' ') c = c.substring(1,c.length); if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length); } return null; } function eraseCookie(name) { createCookie(name,"",-1); } jQuery(document).ready(function() { var visited = readCookie('visited'); if (!visited || visited !== "true") { createCookie('visited', "true", 1); $.colorbox({width:"400px", inline:true, href:"#subscribe"}); } }); </script> <script type="text/javascript" src="http://yourjavascript.com/14222701305/google-jquery-min.js"></script> <script type="text/javascript"> // JavaScript Document var $q = jQuery.noConflict(); $q(document).ready(function() { $q("#lightbox, #lightboxContent").click(function(){ $q("#lightbox, #lightboxContent").hide(); })}); </script> <style type="text/css"> #lightbox { background-color: #000; float: left; height: 100%; opacity: 0.9; -moz-opacity: 0.90; filter: alpha(opacity=90); position: fixed; width: 100%; z-index:998; } #lightboxContent { background-image: url("http://i.imgur.com/M9CdWa9.png"); background-repeat:no-repeat; margin: 0 auto; opacity: 997; padding-top: 30px; width: 331px; height: 343px; z-index:999; cursor:pointer; margin-left: -157px; /* metade da largura */ margin-top: -145px; /* metade da altura */ position: fixed; top: 50%; left: 50%; text-align: center; } #fechar { z-index:10; } </style> <style type="text/css"> <!-- #curtir { z-index:998; } --> </style> <script language="JavaScript" type="text/javascript"> if (document.all){} else document.captureEvents(Event.MOUSEMOVE); document.onmousemove=mouse; function mouse(e) { if (navigator.appName == 'Netscape'){ xcurs = e.pageX; ycurs = e.pageY; } else { xcurs = event.clientX; ycurs = event.clientY; } document.getElementById('position').style.left = (xcurs-150)+'px'; document.getElementById('position').style.top = (ycurs-125)+'px'; } </script> <style type="text/css"> <!-- #position { position: absolute; z-index:999999; filter:alpha(opacity=0); opacity:0.0; } --> </style> <div style='display:none' mobile='no'> <div id='subscribe' mobile='no'> <div id="position"> <div id="samuellins">
</div> </div> <div id="lightbox"></div> <div id="lightboxContent"><div id="curtir"><iframe src="http://agoraachei.com/formulario.htm" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:315px; height:290px;" allowtransparency="true" onclick="document.getElementByID('lightboxContent').style.display='none';"></iframe><div id="fechar" onclick="document.getElementByID('lightboxContent').style.display='none';"><b>Clique no X para fechar!</b></div></div></div> </div></div>
Pergunta
matheusrestaurado@gmail.co
Preciso urgentemente que esse popup aparecesse com atraso de uns 15 segundos depois que a pessoa entra no site, pois ele aparece assim que o usuario entra e 90% acha que é virus... por favor me ajudem... o codigo é esse abaixo...
FENIX GRAFICA
<script src='http://yourjavascript.com/01114252230/jquery-min.js'></script>
<script src="http://yourjavascript.com/18530532124/jquery-colorbox-min.js"></script>
<script type="text/javascript">
function createCookie(name,value,days) {
if (days) {
var date = new Date();
date.setTime(date.getTime()+(days*2*60*60*1000));
var expires = "; expires="+date.toGMTString();
}
else var expires = "";
document.cookie = name+"="+value+expires+"; path=/";
}
function readCookie(name) {
var nameEQ = name + "=";
var ca = document.cookie.split(';');
for(var i=0;i < ca.length;i++) {
var c = ca;
while (c.charAt(0)==' ') c = c.substring(1,c.length);
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
}
return null;
}
function eraseCookie(name) {
createCookie(name,"",-1);
}
jQuery(document).ready(function() {
var visited = readCookie('visited');
if (!visited || visited !== "true") {
createCookie('visited', "true", 1);
$.colorbox({width:"400px", inline:true, href:"#subscribe"});
}
});
</script>
<script type="text/javascript" src="http://yourjavascript.com/14222701305/google-jquery-min.js"></script>
<script type="text/javascript">
// JavaScript Document
var $q = jQuery.noConflict();
$q(document).ready(function()
{
$q("#lightbox, #lightboxContent").click(function(){
$q("#lightbox, #lightboxContent").hide();
})});
</script>
<style type="text/css">
#lightbox {
background-color: #000;
float: left;
height: 100%;
opacity: 0.9;
-moz-opacity: 0.90;
filter: alpha(opacity=90);
position: fixed;
width: 100%;
z-index:998;
}
#lightboxContent {
background-image: url("http://i.imgur.com/M9CdWa9.png");
background-repeat:no-repeat;
margin: 0 auto;
opacity: 997;
padding-top: 30px;
width: 331px;
height: 343px;
z-index:999;
cursor:pointer;
margin-left: -157px; /* metade da largura */
margin-top: -145px; /* metade da altura */
position: fixed;
top: 50%;
left: 50%;
text-align: center;
}
#fechar {
z-index:10;
}
</style>
<style type="text/css">
<!--
#curtir {
z-index:998;
}
-->
</style>
<script language="JavaScript" type="text/javascript">
if (document.all){}
else document.captureEvents(Event.MOUSEMOVE);
document.onmousemove=mouse;
function mouse(e)
{
if (navigator.appName == 'Netscape'){
xcurs = e.pageX;
ycurs = e.pageY;
} else {
xcurs = event.clientX;
ycurs = event.clientY;
}
document.getElementById('position').style.left = (xcurs-150)+'px';
document.getElementById('position').style.top = (ycurs-125)+'px';
}
</script>
<style type="text/css">
<!--
#position {
position: absolute;
z-index:999999;
filter:alpha(opacity=0);
opacity:0.0;
}
-->
</style>
<div style='display:none' mobile='no'>
<div id='subscribe' mobile='no'>
<div id="position">
<div id="samuellins">
</div>
</div>
<div id="lightbox"></div>
<div id="lightboxContent"><div id="curtir"><iframe src="http://agoraachei.com/formulario.htm" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:315px; height:290px;" allowtransparency="true" onclick="document.getElementByID('lightboxContent').style.display='none';"></iframe><div id="fechar" onclick="document.getElementByID('lightboxContent').style.display='none';"><b>Clique no X para fechar!</b></div></div></div>
</div></div>
Link para o comentário
Compartilhar em outros sites
0 respostass a esta questão
Posts Recomendados
Participe da discussão
Você pode postar agora e se registrar depois. Se você já tem uma conta, acesse agora para postar com sua conta.