Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate

Autor Topic: Guía Agregar PopUp Faceook en tu web  (Visto 2019 veces)

0 Miembros and 1 Guest are viewing this topic.

Offline KrizR Posteado: June 09, 2016, 09:57:06 PM | Modificado: November 28, 2016, 07:32:07 PM by ZabiinoOo

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 265
  • Gracias recibida: 12747
  • ve
Vamos a poner este PopUp de facebook en nuestra web 




Primero copiamos este codigo


Spoiler for Hiden:
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js' type='text/javascript'></script>
<style>
#fanback {
display:none;
background:rgba(0,0,0,0.8);
width:100%;
height:100%;
position:fixed;
top:0;
left:0;
z-index:99999;
}
#fan-exit {
width:100%;
height:100%;
}
#JasperRoberts {
background:white;
width:420px;
height:270px;
position:absolute;
top:58%;
left:63%;
margin:-220px 0 0 -375px;
-webkit-box-shadow: inset 0 0 50px 0 #939393;
-moz-box-shadow: inset 0 0 50px 0 #939393;
box-shadow: inset 0 0 50px 0 #939393;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
margin: -220px 0 0 -375px;
}
#TheBlogWidgets {
float:right;
cursor:pointer;
background:url(http://3.bp.blogspot.com/-NRmqfyLwBHY/T4nwHOrPSzI/AAAAAAAAAdQ/8b9O7O1q3c8/s1600/TheBlogWidgets.png) repeat;
height:15px;
padding:20px;
position:relative;
padding-right:40px;
margin-top:-20px;
margin-right:-22px;
}
.remove-borda {
height:1px;
width:366px;
margin:0 auto;
background:#F3F3F3;
margin-top:16px;
position:relative;
margin-left:20px;
}
#linkit,#linkit a.visited,#linkit a,#linkit a:hover {
color:#80808B;
font-size:10px;
margin: 0 auto 5px auto;
float:center;
}
</style>
<script type='text/javascript'>
//<![CDATA[
jQuery.cookie = function (key, value, options) {
// key and at least value given, set cookie...
if (arguments.length > 1 && String(value) !== "[object Object]") {
options = jQuery.extend({}, options);
if (value === null || value === undefined) {
options.expires = -1;
}
if (typeof options.expires === 'number') {
var days = options.expires, t = options.expires = new Date();
t.setDate(t.getDate() + days);
}
value = String(value);
return (document.cookie = [
encodeURIComponent(key), '=',
options.raw ? value : encodeURIComponent(value),
options.expires ? '; expires=' + options.expires.toUTCString() : '',
options.path ? '; path=' + options.path : '',
options.domain ? '; domain=' + options.domain : '',
options.secure ? '; secure' : ''
].join(''));
}
options = value || {};
var result, decode = options.raw ? function (s) { return s; } : decodeURIComponent;
return (result = new RegExp('(?:^|; )' + encodeURIComponent(key) + '=([^;]*)').exec(document.cookie)) ? decode(result[1]) : null;
};
//]]>
</script>
<script type='text/javascript'>
jQuery(document).ready(function($){
if($.cookie('popup_user_login') != 'yes'){
$('#fanback').delay(3000).fadeIn('medium');
$('#TheBlogWidgets, #fan-exit').click(function(){
$('#fanback').stop().fadeOut('medium');
});
}
<!--$.cookie('popup_user_login', 'yes', { path: '/', expires: 7 }); -->
});
</script>
<div id='fanback'>
<div id='fan-exit'>
</div>
<div id='JasperRoberts'>
<div id='TheBlogWidgets'>
</div>
<div class='remove-borda'>
</div>
<iframe allowtransparency='true' frameborder='0' scrolling='no' src='//www.facebook.com/plugins/likebox.php?
href=https://www.facebook.com/FunnyMu&width=402&height=255&colorscheme=light&show_faces=true&show_border=false&stream=false&header=false'
style='border: none; overflow: hidden; margin-top: -19px; width: 402px; height: 230px;'></iframe><center>
<span style="color:#a8a8a8;font-size:8px;" id="linkit">Powered by <a rel="nofollow" style="color:#a8a8a8;font-size:8px;" href="http://jasperroberts.com">Jasper Roberts Consulting</a> - <a style="color:#a8a8a8;font-size:8px;" href="http://www.theblogwidgets.com">Widget</a></span></center>
</div>
</div>

Luego nos dirigimos al index.php / index.html depende si es para intro o para la web

luego buscamos el codigo <head> y pegamos después del <head>

quedando así

<head>
Text Seleccionado...


Para cambiar a su pagina de facebook

buscamos y reemplazamos

https://www.facebook.com/FunnyMu

Gracias:


Offline LyonMaster #1 Posteado: October 22, 2017, 08:05:02 PM

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 26
  • Gracias recibida: 6
  • ve
mano porque queda en blanco?


Offline straiker23 #2 Posteado: October 31, 2020, 12:39:03 PM

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 256
  • Gracias recibida: 69
  • do
PROXIMO PROGRAMADOR! LEARNING..........
SERVICIO DE CONFIGURACION GENERAL, SERVERFILES, WEBSITES ENTRE OTROS.
VENTAS VPS, WEBHOSTING Y EN GENERAL. TU MEJOR OPCION QUE ESPERAS PARA CONTACTARME?
Discord: DarioPerez#0015

Offline Ratablanca #3 Posteado: November 01, 2020, 01:10:49 AM

  • 0 puntos por ventas
  • *
  • Rank: Usuario activo
  • Posts: 66
  • Gracias recibida: 6
  • ar
no sirve para webengine

lo acabo de probar en web engine y si anda. Algo estas haciendo mal

Gracias:


Offline straiker23 #4 Posteado: November 01, 2020, 03:07:01 AM

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 256
  • Gracias recibida: 69
  • do
no sirve para webengine

lo acabo de probar en web engine y si anda. Algo estas haciendo mal

Puedes dejarme foto y direccion exacta donde va el script para testearlo amigo y muchas gracias.

PROXIMO PROGRAMADOR! LEARNING..........
SERVICIO DE CONFIGURACION GENERAL, SERVERFILES, WEBSITES ENTRE OTROS.
VENTAS VPS, WEBHOSTING Y EN GENERAL. TU MEJOR OPCION QUE ESPERAS PARA CONTACTARME?
Discord: DarioPerez#0015

Offline Ratablanca #5 Posteado: November 02, 2020, 02:06:29 PM

  • 0 puntos por ventas
  • *
  • Rank: Usuario activo
  • Posts: 66
  • Gracias recibida: 6
  • ar
no sirve para webengine

lo acabo de probar en web engine y si anda. Algo estas haciendo mal

Puedes dejarme foto y direccion exacta donde va el script para testearlo amigo y muchas gracias.

Ahora no estoy en casa para dejarte foto pero fijate que si estas usando algun template .. ir a la ubicacion del template y luego en index home lo pegas.. te recomiendo q lo pegues antesde la etiqeuta de cierre </head> porque si lo pegas al inicio no te va a cargar el favicon. Saludos

Gracias:


Offline straiker23 #6 Posteado: November 02, 2020, 03:03:03 PM

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 256
  • Gracias recibida: 69
  • do
no sirve para webengine

lo acabo de probar en web engine y si anda. Algo estas haciendo mal

Puedes dejarme foto y direccion exacta donde va el script para testearlo amigo y muchas gracias.

Ahora no estoy en casa para dejarte foto pero fijate que si estas usando algun template .. ir a la ubicacion del template y luego en index home lo pegas.. te recomiendo q lo pegues antesde la etiqeuta de cierre </head> porque si lo pegas al inicio no te va a cargar el favicon. Saludos

Fijate que lo hice tal cual como mencionas antes del </head> y sigue sucediendo lo mismo no me lanza la ventana del facebook

PROXIMO PROGRAMADOR! LEARNING..........
SERVICIO DE CONFIGURACION GENERAL, SERVERFILES, WEBSITES ENTRE OTROS.
VENTAS VPS, WEBHOSTING Y EN GENERAL. TU MEJOR OPCION QUE ESPERAS PARA CONTACTARME?
Discord: DarioPerez#0015

Offline bafta100 #7 Posteado: November 12, 2020, 11:46:45 AM

  • 0 puntos por ventas
  • *
  • Rank: Experto
  • Posts: 164
  • Gracias recibida: 20
  • gb
is not working can someone help me?


Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate


 

Related Topics

  Subject / Started by Replies Last post
15 Replies
4049 Views
Last post June 25, 2020, 01:19:31 AM
by saikano2020
18 Replies
10499 Views
Last post April 15, 2018, 05:56:07 PM
by -Ezuri-
4 Replies
2831 Views
Last post September 19, 2018, 06:07:57 AM
by -Rastaa.TSM☢
2 Replies
800 Views
Last post April 11, 2023, 12:46:30 AM
by ZabiinoOo
4 Replies
2270 Views
Last post September 02, 2019, 07:12:36 PM
by vrennar