Exit intent popup
Para poder incluir este popup
- subir el script .js al directorio correspondiente del template utilizado.
<div id="reviews-slider" style="width:300px; height:150px; margin: 5px auto" data-simple-slider> | |
</div> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/simple-slider/1.0.0/simpleslider.min.js"></script> | |
<script> | |
var backgroundColor = 'white'; | |
var textColor = 'darkolivegreen'; | |
var reviews = [ | |
{ | |
"nombre": "Daisy González de Hormazábal", | |
"texto": "Llevo 6 días y he bajado 3 kilos! Así que estoy súper animada para seguir por los kilos que faltan" |
<script> | |
/*! | |
* @preserve | |
* jquery.scrolldepth.js | v0.4.1 | |
* Copyright (c) 2014 Rob Flaherty (@robflaherty) | |
* Licensed under the MIT and GPL licenses. | |
*/ | |
;(function ( $, window, document, undefined ) { | |
"use strict"; |
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Effect": "Allow", | |
"Principal": { | |
"AWS": [ | |
"arn:aws:iam::{{id-de-la-cuenta}}:user/{{nickname_usuario}}", | |
"arn:aws:iam::{{id-de-la-cuenta}}:root" | |
] |
var Fn = { | |
// Valida el rut con su cadena completa "XXXXXXXX-X" | |
validaRut : function (rutCompleto) { | |
if (!/^[0-9]+[-|‐]{1}[0-9kK]{1}$/.test( rutCompleto )) | |
return false; | |
var tmp = rutCompleto.split('-'); | |
var digv = tmp[1]; | |
var rut = tmp[0]; | |
if ( digv == 'K' ) digv = 'k' ; | |
return (Fn.dv(rut) == digv ); |
Filter verification: https://support.google.com/analytics/answer/6046990?hl=en
Como definir clases en Javascript: