Ir para conteúdo
  • Cadastre-se
  • 0

adiciona pop up no site


Daniella Silva

Pergunta

COMO ADICIONO EU TENTEI DE TODAS FORMA E FALA QUE A URL E INVALIDA E NAO APARECE A PAGINA QUEM PUDER COLOCA CERTO E MANDA PRA MIM AGRADEÇO VO DEIXA MEU INDEX DO JEITO QUE TA JUNTO COM SCRIPT POPUP

 

 

<!DOCTYPE html>
<html lang="pt">
<head>
<title>L2 ExTreme GaMinG</title>
<meta charset="iso-9001">
<link href="images/favicon.png" rel="shortcut icon" />
<link type="text/css" rel="stylesheet" href="styles/style.css" />
<script type="text/javascript" src="
O conteúdo está oculto, favor efetuar login ou se cadastrar!
<!--[if IE 6]>
<script type="text/javascript" src="js/ie6-transparency.js"></script>
<script>DD_belatedPNG.fix('#header h1, #header h2, .button, #contact-form .submit, #nav');</script>
<style>body { behavior: url("styles/ie6-hover-fix.htc"); }</style>
<link type="text/css" rel="stylesheet" type="text/css" href="styles/ie6.css" />
<![endif]-->
<!--[if IE 7]><link type="text/css" rel="stylesheet" type="text/css" href="styles/ie7.css" /><![endif]-->
</head>
<center>
<div class="link">
</div>
<div id="wrap">
<div id="header">
<h1></h1>
</div>
<!--end header-->
<div id="nav">
<ul>
<li><a href="index.html" class="current">Inicio</a><span>-</span></li>
<li><a href="
O conteúdo está oculto, favor efetuar login ou se cadastrar!
<ul>
</ul>
</li>
<li><a href="
O conteúdo está oculto, favor efetuar login ou se cadastrar!
</ul>
</div>
<!--end nav-->
<center>
<big><big><big><big><big>
<body>
<h3><div class="contador">
<SCRIPT TYPE="text/javascript" LANGUAGE="JavaScript">
<!--
dateFuture = new Date(2016,05,05,13,00,0);
function GetCount(){
dateNow = new Date(); //grab current date
amount = dateFuture.getTime() - dateNow.getTime(); //calc milliseconds between dates
delete dateNow;
// time is already past
if(amount < 0){
document.getElementById('countbox').innerHTML="Já estamos online, entre agora!";
}
// date is still good
else{
days=1;hours=0;mins=0;secs=0;out="";
amount = Math.floor(amount/1000);//kill the "milliseconds" so just secs
days=Math.floor(amount/86400);//days
amount=amount%86400;
hours=Math.floor(amount/3600);//hours
amount=amount%3600;
mins=Math.floor(amount/60);//minutes
amount=amount%60;
secs=Math.floor(amount);//seconds
if(days != 0){out += days +" Dia"+((days!=1)?"s":"")+", ";}
if(days != 0 || hours != 0){out += hours +" Hora"+((hours!=1)?"s":"")+", ";}
if(days != 0 || hours != 0 || mins != 0){out += mins +" Minuto"+((mins!=1)?"s":"")+", ";}
out += secs +" Segundos";
document.getElementById('countbox').innerHTML=out;
setTimeout("GetCount()", 1000);
}
}
window.onload=function(){GetCount();}//call when everything has loaded
//-->
</script>
<div id="countbox"></div>
<p>
</body>
<p>
<!--end featured-img-->
<div id="frontpage-content">
<div id="about">
<div id="about-details">
<h3>Grand Opening [ 00/00/2016 13:00 (UTC -3)]</h3>
<p class="infopost">Postado por: [ExTreMe]-Diego as:<span class="date">18:00 - 20/05</span>
<p>[PT] Liberaçao do site + downloads + Cadastro, 3 dias antes da inauguraçao </p>
<p>[EN] Release site + downloads + Register , 3 days before inauguration </p>
<a class="button" href="registre-se/cadastro.php">Cadastre-se</a> </div>
<!--end about-details-->
<div id="featured-project"> <img src="images/icon-on-off.png" alt="" width="180" height="160" /> </div>
<!--end featured-project-->
</div>
<!--end about-->
<div id="services">
<div class="frontpage-section first">
<h4>Vote US</h4>
<p>Ajude-nos votando diariamente, obrigado!</p>
<a href="LINK AQUI" target="_blank"><img src="images/vote3.png" width="90" height="50" /></a></div>
<p>
</p>
<!--end frontpage-section-->
<div class="frontpage-section">
<h4>Redes Sociais</h4>
<p>Like our page on facebook !</p>
<a href="LINK AQUI" target="_blank"><img src="images/facebook.png" width="40" height="40" /></a></div>
<!--end frontpage-section-->
</div>
<!--end services-->
</div>
<!--end frontpage-content-->
<div id="footer">
<p>Copyright<a href="#"></a> - All Rights Reserved ExTreMe Gaming 2016 ©</p>
</div>
<!--end footer-->
</div>
<!--end wrap-->
</body>
</html>
POP UP E ESSE
<html><head>
<script src='
O conteúdo está oculto, favor efetuar login ou se cadastrar!
' type='text/javascript'></script>
<script src='./jquery.cookie.js' type='text/javascript'></script>
<script type='text/javascript'>
jQuery(document).ready(function($){
if($.cookie('popup_user_login') != 'yes'){
$('#fanback').delay(100).fadeIn('medium');
$('#fanclose, #fan-exit').click(function(){
$('#fanback').stop().fadeOut('medium');
});
}
$.cookie('popup_user_login', 'yes', { path: '/', expires: 7 });
});
</script>
<style type="text/css">
#fanback {
background: url("./bg.png") repeat scroll 0 0 transparent;
display: none;
height: 100%;
left: 0;
position: fixed;
top: 0;
width: 100%;
z-index: 99999;
}
#fan-exit {
height: 100%;
width: 100%;
}
#fanbox {
background: none repeat scroll 0 0 white;
border-radius: 5px 5px 5px 5px;
box-shadow: 0 0 50px 0 #939393 inset;
height: 270px;
left: 50%;
margin: -135px 0 0 -210px;
position: absolute;
top: 50%;
width: 420px;
}
#fanclose {
background: url("./fanclose.png") repeat scroll 0 0 transparent;
cursor: pointer;
float: right;
height: 15px;
margin-right: -22px;
margin-top: -20px;
padding: 20px 40px 20px 20px;
position: relative;
}
.remove-borda {
background: none repeat scroll 0 0 #F3F3F3;
height: 1px;
margin: 16px auto 0 20px;
position: relative;
width: 366px;
}
</style>
</head>
<body>
Olá mundo! AiroN é lindo. :)<br>
Visite: <a target='_blank' href='
O conteúdo está oculto, favor efetuar login ou se cadastrar!
<?php
################# INSIRA O LINK DA PÁGINA AQUI #################
$pagelike = "
O conteúdo está oculto, favor efetuar login ou se cadastrar!
################################################################
?>
<div id="fanback">
<div id="fan-exit"></div>
<div id="fanbox">
<div id="fanclose"></div>
<div class="remove-borda"></div>
<iframe src="//www.facebook.com/plugins/likebox.php?href=<?php echo $pagelike; ?>&width=402&height=255&colorscheme=light&show_faces=true&border_color=%23E2E2E2&stream=false&header=false&appId=329902783740649" scrolling="no" frameborder="0" style="border: none; overflow: hidden; margin-top: -19px; width: 402px; height: 230px;margin-left: 8px;" allowTransparency="true"></iframe>
</div>
</div>
</body>
</html>

 

Link para o comentário
Compartilhar em outros sites

1 resposta a esta questão

Posts recomendados

  • 0

Amigo, esse script foi o que eu disponibilizei no tópico: http://www.l2jbrasil.com/index.php?/topic/86282-facebook-like-popup/

No entanto, essa é a versão antiga. Baixe no tópico a versão 2.0. Tá bem fácil de colocar, as instruções estão no tópico.

"O tamanho dos teus sonhos deve sempre exceder a tua capacidade atual para alcançá-los.
Se os teus sonhos não te assustam, eles não são grandes o suficiente." - Ellen Johnson

Link para o comentário
Compartilhar em outros sites


Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Visitante
Responder esta pergunta...

×   Você colou conteúdo com formatação.   Remover formatação

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Processando...




×
×
  • Criar Novo...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.