Files
Maphre-PLD-2026/contenido/04.html
T

110 lines
3.5 KiB
HTML
Raw Normal View History

2026-06-05 16:56:04 -06:00
<!doctype html>
2026-06-04 12:20:40 -06:00
<html>
2026-06-05 16:56:04 -06:00
<head>
<style>
.sec0 {
background-image: url(img/fondos/bg4.jpg);
background-repeat: no-repeat;
background-size: cover;
background-position: center;
}
.bubble {
width: 100%;
height: 112px;
background-image: linear-gradient(to bottom, #f9f9f9, #f5f5f5, #f1f1f1, #ededed, #e9e9e9);
border-top-left-radius: 25px;
border-top-right-radius: 25px;
border-bottom-right-radius: 25px;
}
.anim {
opacity: 0;
}
</style>
</head>
<body>
2026-06-04 12:20:40 -06:00
<div class="section_charge bg w-100 h-100">
2026-06-05 16:56:04 -06:00
<div class="d-none">
<img src="img/sprites/marco_1.png" alt="" />
<img src="img/sprites/marco_2.png" alt="" />
</div>
<section id="sec0" class="sec0 w-100 h-100">
<div class="container h-100">
<div class="row justify-content-center h-100">
<div class="col-9 offset-2 mt-2 anim anim1">
<div class="bubble d-flex align-items-center shadow px-3 py-2">
¡Buenos días! Soy Marcos Aguilar, el nuevo colaborador de Mapfre. Me interesa mucho conocer las nuevas
disposiciones sobre Prevención de Lavado de Dinero y Financiamiento al Terrorismo para poderme
actualizar. ¿Puedes apoyarme?
</div>
</div>
<div class="col-7 align-self-end anim anim2">
<div class="row justify-content-center">
<div class="col-4 align-self-end">
<div class="personaje_r_1 d-none"></div>
<div class="personaje_r_2"></div>
2026-06-04 12:20:40 -06:00
</div>
2026-06-05 16:56:04 -06:00
<div class="col-4">
<div class="personaje_m_1 d-none"></div>
<div class="personaje_m_2"></div>
</div>
</div>
2026-06-04 12:20:40 -06:00
</div>
2026-06-05 16:56:04 -06:00
</div>
</div>
</section>
2026-06-04 12:20:40 -06:00
</div>
2026-06-05 16:56:04 -06:00
</body>
2026-06-04 12:20:40 -06:00
</html>
<script>
2026-06-05 16:56:04 -06:00
jQuery(document).ready(function ($) {
2026-06-04 12:20:40 -06:00
instruccion(0);
2026-06-05 16:56:04 -06:00
var Audio_4 = newSound('audio/Audio_4_Marcos.mp3');
var Audio_R1 = newSound('audio/Audio_1_Ruben.mp3');
var txt1 =
'¡Buen día! Te estábamos esperando Marcos. Yo soy Rubén Gutiérrez y con gusto te guiaré para que conozcas mejor estas disposiciones.';
2026-06-04 12:20:40 -06:00
2026-06-05 16:56:04 -06:00
Audio_4.on('end', function () {
stopAllSoundsAndPlay(Audio_R1);
$('.bubble').html(txt1);
$('.personaje_m_2').addClass('d-none');
$('.personaje_m_1').removeClass('d-none');
$('.personaje_r_2').addClass('d-none');
$('.personaje_r_1').removeClass('d-none').addClass('play');
2026-06-04 12:20:40 -06:00
});
2026-06-05 16:56:04 -06:00
Audio_R1.on('end', function () {
fn_end();
$('.personaje_r_1').removeClass('play');
2026-06-04 12:20:40 -06:00
});
2026-06-05 16:56:04 -06:00
$('.layer-load').show();
2026-06-04 12:20:40 -06:00
$('.section_charge').waitForImages({
2026-06-05 16:56:04 -06:00
finished: function () {
$('.section_charge').css('visibility', 'visible');
$('.wloader').hide();
fn_animate();
},
each: function (loaded, count, success) {
var total = Math.floor((loaded * 100) / count);
$('.wloader').show();
},
waitForAll: true
2026-06-04 12:20:40 -06:00
});
2026-06-05 16:56:04 -06:00
function fn_animate() {
var tl = new TimelineMax();
tl.fromTo('.anim2', 1, { opacity: 0, x: -150 }, { opacity: 1, x: 0, ease: Expo.easeInOut });
tl.fromTo('.anim1', 0.7, { opacity: 0, y: -250 }, { opacity: 1, y: 0, ease: Expo.easeInOut });
tl.call(fn_firstAudio);
2026-06-04 12:20:40 -06:00
}
2026-06-05 16:56:04 -06:00
function fn_firstAudio() {
stopAllSoundsAndPlay(Audio_4);
$('.personaje_m_2').addClass('play');
2026-06-04 12:20:40 -06:00
}
2026-06-05 16:56:04 -06:00
function fn_end() {
instruccion(1);
2026-06-04 12:20:40 -06:00
}
2026-06-05 16:56:04 -06:00
});
</script>