index.php 60 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389
  1. <!doctype html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  6. <!-- styles -->
  7. <link rel="stylesheet" type="text/css" href="css/bootstrap.css" />
  8. <link rel="stylesheet" href="css/style-main.css">
  9. <link rel="stylesheet" href="css/style.css">
  10. <link rel="stylesheet" href="css/responsive.css">
  11. <link rel="stylesheet" href="css/icons-platform.css">
  12. <link rel="stylesheet" href="css/fontawesome/css/all.css">
  13. <link rel="stylesheet" href="css/animations.css">
  14. <link rel="stylesheet" href="css/animation-main.css">
  15. <link rel="stylesheet" href="css/loading.css">
  16. <link rel="stylesheet" href="css/arrows.css">
  17. <link rel="stylesheet" href="css/texto-principal.css">
  18. <link rel="stylesheet" href="css/style-p.css">
  19. <link rel="stylesheet" href="css/texto-style.css">
  20. <script src="https://code.jquery.com/jquery-1.10.1.min.js"></script>
  21. <title> Plataforma Educativa </title>
  22. <!-- Para FTP -->
  23. <script async src="https://www.googletagmanager.com/gtag/js?id=UA-46001212-3"></script>
  24. <script>
  25. window.dataLayer = window.dataLayer || [];
  26. function gtag() {
  27. dataLayer.push(arguments);
  28. }
  29. gtag('js', new Date());
  30. gtag('config', 'UA-46001212-3');
  31. </script>
  32. </head>
  33. <body>
  34. <div class="covid19">
  35. <div class="background-top2">
  36. <nav class="navbar navbar-expand-lg">
  37. <div class="container-fluid row">
  38. <div class="col-md-3 col-12 col-sm-12 ocultar">
  39. <div class="row">
  40. <div class="col-md-6 col-sm-6 col-6">
  41. <a class="navbar-brand" href="index">
  42. <!-- No poner contenido -->
  43. </a>
  44. </div>
  45. <div class="col-md-6 col-sm-6 col-6 text-right p-rt">
  46. <button class="navbar-toggler whitee" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
  47. <i class="fas fa-bars"></i>
  48. </button>
  49. </div>
  50. </div>
  51. </div>
  52. <div class="col-md-12 col-12 col-sm-12 mostrar">
  53. <div class="row">
  54. <div class="col-md-6 col-sm-6 col-6">
  55. <a class="navbar-brand" href="index">
  56. <!-- No poner contenido -->
  57. </a>
  58. </div>
  59. <div class="col-md-6 col-sm-6 col-6 text-right p-rt">
  60. <button class="navbar-toggler whitee" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
  61. <i class="fas fa-bars"></i>
  62. </button>
  63. </div>
  64. </div>
  65. </div>
  66. <div class="col-md-9 col-12 col-sm-12">
  67. <div class="collapse navbar-collapse" id="navbarSupportedContent">
  68. <ul class="navbar-nav ml-auto menu-to">
  69. <li class="nav-item2">
  70. <a class="nav-link underline-no" href="index"> Inicio </a>
  71. </li>
  72. <li class="nav-item2">
  73. <a class="nav-link underline-no" href="conocenos"> Conócenos </a>
  74. </li>
  75. <li class="nav-item2">
  76. <a class="nav-link underline-no" href="funciones"> Funciones </a>
  77. </li>
  78. <li class="nav-item2">
  79. <a class="nav-link underline-no" href="contacto"> Contacto </a>
  80. </li>
  81. <li class="nav-item2 d-flex justify-content-center">
  82. <a id="covid" class="covid slideDown white-button" href="apoyo-covid-19">Apoyo COVID-19</a>
  83. </li>
  84. </ul>
  85. </div>
  86. </div>
  87. </div>
  88. </nav>
  89. <div class="relleno">
  90. <div class="row row-c">
  91. <div class="col-md-5 col-sm-12 col-12 d-flex align-items-center display-m">
  92. <br>
  93. <ul class="puntos-index li-no">
  94. <li>Fácil administración de tu colegio</li>
  95. <li>Carga de información rápida y sencilla</li>
  96. <li>Conoce nuestra app móvil</li>
  97. <li>Plataforma flexible</li>
  98. </ul>
  99. <!-- <ul class="puntos-index li-no">
  100. <li>
  101. <div class="div pr-1">Facil</div>
  102. <div class="div">
  103. <span> administración de tu colegio</span>
  104. </div>
  105. </li>
  106. <li>
  107. <div class="div pr-1">Carga</div>
  108. <div class="div ">
  109. <span> de información rápida y sencilla</span>
  110. </div>
  111. </li>
  112. <li>
  113. <div class="div pr-1">Conoce</div>
  114. <div class="div ">
  115. <span> nuestra app móvil</span>
  116. </div>
  117. </li>
  118. <li>
  119. <div class="div pr-1">Plataforma</div>
  120. <div class="div ">
  121. <span> flexible</span>
  122. </div>
  123. </li> -->
  124. </ul>
  125. </div>
  126. <div class="col-md-7 col-sm-12 col-12 d-flex align-items-end display-m">
  127. <div id="dialogo-1" class="dialogo-1 flotando-d">
  128. <img width="30%" src="img/index/animacion-index/dialogo.png" alt="Fondo2">
  129. </div>
  130. <div id="dialogo-2" class="dialogo-2 flotando-d1">
  131. <img width="30%" src="img/index/animacion-index/dialogo2.png" alt="Fondo2">
  132. </div>
  133. <div id="avion" class="avion flotando-a">
  134. <img width="30%" src="img/index/animacion-index/avion.png" alt="Fondo2">
  135. </div>
  136. <div id="lapiz" class="lapiz flotando-l">
  137. <img width="30%" src="img/index/animacion-index/lapiz.png" alt="Fondo2">
  138. </div>
  139. <div id="foco" class="foco">
  140. <img width="60%" src="img/index/animacion-index/foco.gif" alt="Fondo3">
  141. </div>
  142. <div id="libro" class="libro">
  143. <img width="100%" src="img/index/animacion-index/libro.png" alt="Fondo2">
  144. </div>
  145. </div>
  146. <div class="col-md-12 col-sm-12 col-12 d-flex align-items-end display-t text-center">
  147. <div class="container text-center">
  148. <div id="dialogo-1" class="dialogo-1 flotando-d">
  149. <img width="30%" src="img/index/animacion-index/dialogo.png" alt="Fondo2">
  150. </div>
  151. <div id="dialogo-2" class="dialogo-2 flotando-d1">
  152. <img width="30%" src="img/index/animacion-index/dialogo2.png" alt="Fondo2">
  153. </div>
  154. <div id="avion" class="avion flotando-a">
  155. <img width="30%" src="img/index/animacion-index/avion.png" alt="Fondo2">
  156. </div>
  157. <div id="lapiz" class="lapiz flotando-l">
  158. <img width="30%" src="img/index/animacion-index/lapiz.png" alt="Fondo2">
  159. </div>
  160. <div id="foco" class="foco">
  161. <img width="60%" src="img/index/animacion-index/foco.gif" alt="Fondo3">
  162. </div>
  163. <div id="libro" class="libro">
  164. <img width="100%" src="img/index/animacion-index/libro.png" alt="Fondo2">
  165. </div>
  166. </div>
  167. </div>
  168. <div class="col-md-12 col-sm-12 col-12 display-t">
  169. <div class="row container-fluid margin-te pa">
  170. <div class="col-md-6 col-sm-12 col-12 text-center m-text">
  171. <p class="puntos-index2">Fácil administración de tu colegio</p>
  172. </div>
  173. <div class="col-md-6 col-sm-12 col-12 text-center m-text">
  174. <p class="puntos-index2">Carga rápida y flexible</p>
  175. </div>
  176. <div class="col-md-6 col-sm-12 col-12 text-center m-text">
  177. <p class="puntos-index2">Carga rápida y sencilla</p>
  178. </div>
  179. <div class="col-md-6 col-sm-12 col-12s text-center m-text">
  180. <p class="puntos-index2">Conoce nuestra app móvil</p>
  181. </div>
  182. </div>
  183. </div>
  184. </div>
  185. </div>
  186. <div class="separator pt-1">
  187. <img width="100%" height="100%" src="img/index/Separador1_10.png" alt="Separador">
  188. </div>
  189. <div class="back-azul padding-fluid">
  190. <div class="row padding-div d-flex align-items-center">
  191. <div id="texto-0" class="col-md-6">
  192. <h1 class="title">Clases en línea</h1>
  193. <p class="description padding">Programa las sesiones e imparte videoconferecias con hasta 100 alumnos. Graba las sesiones, comparte tu pantalla, escribe en la pizarra, interactúa en video con los participantes o utiliza el chat en vivo de las reuniones. Nuestra
  194. solución todo en uno te permite realizar múltiples sesiones simultáneas, evita que contrates otros servicios de streaming y lo mejor de todo, tu informaciónes completamente privada.</p>
  195. </div>
  196. <div class="col-md-6">
  197. <img class="img-fluid" src="img/zero/Animacion_00000.png" alt="Clases en línea">
  198. </div>
  199. </div>
  200. </div>
  201. <div class="separator">
  202. <img width="100%" height="100%" src="img/index/Separador1_10.png" alt="Separador">
  203. </div>
  204. <div class="back-azulf padding-fluid">
  205. <div class="row padding-div d-flex align-items-center">
  206. <div class="col-md-6">
  207. <img class="img-fluid img-max" src="img/first/animacion 90.png" alt="Clases en línea">
  208. </div>
  209. <div id="texto" class="col-md-6">
  210. <h1 class="title">Circulares digitales</h1>
  211. <p class="description padding">Optimiza la comunicación entre alumnos, profesores y padres de familia, enviando circulares electrónicas de actividades y eventos.</p>
  212. </div>
  213. </div>
  214. </div>
  215. <div class="separator">
  216. <img width="100%" height="100%" src="img/index/Separador1_10.png" alt="Separador">
  217. </div>
  218. <div class="back-rojo padding-fluid">
  219. <div class="row padding-div d-flex align-items-center">
  220. <div id="texto-1" class="col-md-6">
  221. <h1 class="title">Administración de Tareas</h1>
  222. <p class="description padding">Los profesores pueden asignar tareas que son consultadas por alumnos y padres de familia. A través del sistema, el alumno mantiene un control de las tareas que ha completado y de aquellos que tiene por realizar. La programación
  223. de tareas permite incluir adjuntos de gran tamaño y vínculos directos a los contenidos, para el caso de los videos.</p>
  224. </div>
  225. <div class="col-md-6 d-flex align-items-center">
  226. <img class="img-fluid img-max" src="img/second/TR 40.png" alt="Clases en línea">
  227. </div>
  228. </div>
  229. </div>
  230. <div class="separator">
  231. <img width="100%" height="100%" src="img/index/Separador1_10.png" alt="Separador">
  232. </div>
  233. <div class="back-morado padding-fluid">
  234. <div class="row padding-div d-flex align-items-center">
  235. <div class="col-md-6">
  236. <img class="img-fluid img-max" src="img/third/Calendar10.png" alt="Clases en línea">
  237. </div>
  238. <div id="texto-2" class="col-md-6">
  239. <h1 class="title">Calendario de actividades</h1>
  240. <p class="description padding">Planifica las actividades del Colegio a lo largo del ciclo escolarde forma unificada.</p>
  241. </div>
  242. </div>
  243. </div>
  244. <div class="separator">
  245. <img width="100%" height="100%" src="img/index/Separador1_10.png" alt="Separador">
  246. </div>
  247. <div class="back-verde padding-fluid">
  248. <div class="row padding-div d-flex align-items-center">
  249. <div id="texto-3" class="col-md-6">
  250. <h1 class="title">Centro de Mensajes</h1>
  251. <p class="description padding">Permite la comunicación directa entre alumnos, profesores, padres de familia y directivos sin necesidad de un correo electrónico. Esta función permite el intercambio de información por equipos sin necesidad de reuniones presenciales
  252. en casa.</p>
  253. </div>
  254. <div class="col-md-6">
  255. <img class="img-fluid img-max2" src="img/fourth/Compu anima10.png" alt="Clases en línea">
  256. </div>
  257. </div>
  258. </div>
  259. <div class="separator">
  260. <img width="100%" height="100%" src="img/index/Separador1_10.png" alt="Separador">
  261. </div>
  262. <div class="back-amarillo padding-fluid">
  263. <div class="row padding-div d-flex align-items-center">
  264. <div class="col-md-6">
  265. <img class="img-fluid img-max2" src="img/fifth/Tablero anima10.png" alt="Clases en línea">
  266. </div>
  267. <div id="texto-4" class="col-md-6">
  268. <h1 class="title">Centro de Recursos por Materia</h1>
  269. <p class="description padding">Los alumnos pueden acceder al contenido de cada materia y descargarlos contenidos que sus profesores compartan con ellos para su aprendizaje educativo, el sistema está diseñado para archivos adjuntos de gran tamaño y el almacenamiento
  270. es ilimitado.</p>
  271. </div>
  272. </div>
  273. </div>
  274. <div class="separator">
  275. <img width="100%" height="100%" src="img/index/Separador1_10.png" alt="Separador">
  276. </div>
  277. <!-- Footer -->
  278. <?php include('footer.html'); ?>
  279. <!-- Fin Footer -->
  280. </div>
  281. </div>
  282. <script type="text/javascript" src="js/bootstrap.js"></script>
  283. <script>
  284. var body = document.body;
  285. var contMsg1 = 0;
  286. var contMsg2 = 0;
  287. var contMsg3 = 0;
  288. body.scrollTop += 10;
  289. var cont = 1;
  290. $('#covid').addClass('pulse');
  291. var scrolled = 1;
  292. var value = 0;
  293. var signo = 1;
  294. function isMobile() {
  295. return (
  296. (navigator.userAgent.match(/Android/i)) ||
  297. (navigator.userAgent.match(/webOS/i)) ||
  298. (navigator.userAgent.match(/iPhone/i)) ||
  299. (navigator.userAgent.match(/iPod/i)) ||
  300. (navigator.userAgent.match(/iPad/i)) ||
  301. (navigator.userAgent.match(/BlackBerry/i))
  302. );
  303. }
  304. if (isMobile()) {
  305. $('#menu-bottom').remove();
  306. $('#footer-part-1').css({
  307. 'margin-top': '70px'
  308. });
  309. $('#cam1').remove();
  310. $('#cam2').remove();
  311. $('#cam3').remove();
  312. $('#doc1').remove();
  313. $('#doc2').remove();
  314. $('#doc3').remove();
  315. $('#book1').remove();
  316. $('#book2').remove();
  317. $('#book3').remove();
  318. $('#book4').remove();
  319. $('#copo1').remove();
  320. $('#copo2').remove();
  321. $('#hoja1').remove();
  322. $('#msg1').remove();
  323. $('#msg2').remove();
  324. $('#msg3').remove();
  325. $('#dcl1').remove();
  326. $('#dcl2').remove();
  327. $('#dcl3').remove();
  328. $('#dot1').remove();
  329. $('#dot2').remove();
  330. $('#plus2').remove();
  331. $('#plus1s0').css({
  332. 'margin-left': ($(window).width() * 0.3)
  333. });
  334. $('#plus1s2').css({
  335. 'margin-left': ($(window).width() * 0.001)
  336. });
  337. $('#plus2s2').css({
  338. 'margin-left': ($(window).width() * 0.4)
  339. });
  340. $('#plus3s2').css({
  341. 'margin-left': ($(window).width() * -0.4)
  342. });
  343. $('#plus1s3').css({
  344. 'margin-left': ($(window).width() * 0.4)
  345. });
  346. $('#plus2s3').css({
  347. 'margin-left': ($(window).width() * -0.4)
  348. });
  349. $('#plus1s4').css({
  350. 'margin-left': ($(window).width() * 0.35)
  351. });
  352. $('#plus2s4').css({
  353. 'margin-left': ($(window).width() * -0.2)
  354. });
  355. $('#plus1s5').css({
  356. 'margin-left': ($(window).width() * 0.1)
  357. });
  358. $('#plus2s5').css({
  359. 'margin-left': ($(window).width() * -0.25)
  360. });
  361. $('.header').css({
  362. 'background': 'rgba(255, 255, 255, 0.5)'
  363. });
  364. $('#link1').removeClass('white');
  365. $('#link1').addClass('strong-blue');
  366. $('#link2').removeClass('white');
  367. $('#link2').addClass('strong-blue');
  368. $('#link3').removeClass('white');
  369. $('#link3').addClass('strong-blue');
  370. $('#link4').removeClass('white');
  371. $('#link4').addClass('strong-blue');
  372. $('#covid').removeClass('white-button');
  373. $('#covid').addClass('strong-blue-button');
  374. $('#menu').removeClass('hide')
  375. }
  376. $(window).scroll(function() {
  377. var topOfWindow = $(window).scrollTop();
  378. var barra = $(window).scrollTop();
  379. var barra = $(window).scrollTop();
  380. var ventanaAncho = $(window).width();
  381. var escala1 = 15 + (barra / 10);
  382. var escala2 = -21 + (barra / 5);
  383. var escala3 = -21 - (barra / 15);
  384. var posicionDoc1 = 1000 - (barra * 0.35) + 150;
  385. var posicionDoc1X = ventanaAncho * 0.60;
  386. var posicionDoc2 = 250 - (barra * 0.35) + 250;
  387. var posicionDoc2X = ventanaAncho * 0.75;
  388. var posicionDoc3 = 900 - (barra * 0.35) + 250;
  389. var posicionDoc3X = ventanaAncho * 0.65;
  390. var posicionDot1 = -360 + (barra * 0.50) - 250;
  391. var posicionDot1X = ventanaAncho * 0.05;
  392. var posicionDot2 = -280 + (barra * 0.50) - 250;
  393. var posicionDot2X = ventanaAncho * 0.87;
  394. var posicionPlus1 = -180 + (barra * 0.50) - 250;
  395. var posicionPlus1X = ventanaAncho * 0.375;
  396. var posicionPlus2 = -100 + (barra * 0.50) - 250;
  397. var posicionPlus2X = ventanaAncho * 0.65;
  398. if (posicionDoc1 >= 360) {
  399. $('#doc1').css({
  400. 'transform': 'translateX(' + posicionDoc1X + 'px) rotate(15deg) translateY(' + posicionDoc1 + 'px)'
  401. });
  402. $('#doc1').css({
  403. 'width': '100px'
  404. });
  405. } else {
  406. var posicionDoc1Tmp = 60 + (barra * 0.35);
  407. var ancho1 = 100 + (barra / 100);
  408. $('#doc1').css({
  409. 'width': ancho1 + 'px'
  410. });
  411. $('#doc1').css({
  412. 'transform': 'translateX(' + posicionDoc1X + 'px) rotate(15deg) translateY(' + posicionDoc1Tmp + 'px)'
  413. });
  414. }
  415. if (posicionDoc3 >= 360) {
  416. $('#doc3').css({
  417. 'transform': 'translateX(' + posicionDoc3X + 'px) rotate(-20deg) translateY(' + posicionDoc3 + 'px)'
  418. });
  419. $('#doc3').css({
  420. 'width': '70px'
  421. });
  422. } else {
  423. var ancho3 = 70 + (barra / 120);
  424. var posicionDoc3Tmp = 60 + (barra * 0.35);
  425. $('#doc3').css({
  426. 'width': ancho3 + 'px'
  427. });
  428. $('#doc3').css({
  429. 'transform': 'translateX(' + posicionDoc3X + 'px) rotate(-20deg) translateY(' + posicionDoc3Tmp + 'px)'
  430. });
  431. }
  432. $('#doc2').css({
  433. 'transform': 'translateX(' + posicionDoc2X + 'px) rotate(-20deg) translateY(' + posicionDoc2 + 'px)'
  434. });
  435. $('#dot1').css({
  436. 'transform': 'translateX(' + posicionDot1X + 'px) translateY(' + posicionDot1 + 'px)'
  437. });
  438. $('#dot2').css({
  439. 'transform': 'translateX(' + posicionDot2X + 'px) translateY(' + posicionDot2 + 'px)'
  440. });
  441. $('#plus1').css({
  442. 'transform': 'translateX(' + posicionPlus1X + 'px) translateY(' + posicionPlus1 + 'px)'
  443. });
  444. $('#plus2').css({
  445. 'transform': 'translateX(' + posicionPlus2X + 'px) translateY(' + posicionPlus2 + 'px)'
  446. });
  447. $('#img-source-0').each(function() {
  448. var imagePos = $(this).offset().top;
  449. if (imagePos < topOfWindow + 450) {
  450. $(this).attr("src", "img/zero/Animacion_00007.png");
  451. }
  452. if (imagePos < topOfWindow + 435) {
  453. $(this).attr("src", "img/zero/Animacion_00008.png");
  454. }
  455. if (imagePos < topOfWindow + 420) {
  456. $(this).attr("src", "img/zero/Animacion_00009.png");
  457. }
  458. if (imagePos < topOfWindow + 405) {
  459. $(this).attr("src", "img/zero/Animacion_00010.png");
  460. }
  461. if (imagePos < topOfWindow + 390) {
  462. $(this).attr("src", "img/zero/Animacion_00011.png");
  463. }
  464. if (imagePos < topOfWindow + 375) {
  465. $(this).attr("src", "img/zero/Animacion_00012.png");
  466. }
  467. if (imagePos < topOfWindow + 360) {
  468. $(this).attr("src", "img/zero/Animacion_00014.png");
  469. }
  470. if (imagePos < topOfWindow + 345) {
  471. $(this).attr("src", "img/zero/Animacion_00015.png");
  472. }
  473. if (imagePos < topOfWindow + 330) {
  474. $(this).attr("src", "img/zero/Animacion_00017.png");
  475. }
  476. if (imagePos < topOfWindow + 315) {
  477. $(this).attr("src", "img/zero/Animacion_00018.png");
  478. }
  479. if (imagePos < topOfWindow + 300) {
  480. $(this).attr("src", "img/zero/Animacion_00020.png");
  481. }
  482. if (imagePos < topOfWindow + 285) {
  483. $(this).attr("src", "img/zero/Animacion_00021.png");
  484. }
  485. if (imagePos < topOfWindow + 270) {
  486. $(this).attr("src", "img/zero/Animacion_00022.png");
  487. }
  488. if (imagePos < topOfWindow + 255) {
  489. $(this).attr("src", "img/zero/Animacion_00024.png");
  490. }
  491. if (imagePos < topOfWindow + 240) {
  492. $(this).attr("src", "img/zero/Animacion_00025.png");
  493. }
  494. if (imagePos < topOfWindow + 225) {
  495. $(this).attr("src", "img/zero/Animacion_00027.png");
  496. }
  497. if (imagePos < topOfWindow + 210) {
  498. $(this).attr("src", "img/zero/Animacion_00028.png");
  499. }
  500. if (imagePos < topOfWindow + 195) {
  501. $(this).attr("src", "img/zero/Animacion_00030.png");
  502. }
  503. if (imagePos < topOfWindow + 180) {
  504. $(this).attr("src", "img/zero/Animacion_00031.png");
  505. }
  506. if (imagePos < topOfWindow + 165) {
  507. $(this).attr("src", "img/zero/Animacion_00032.png");
  508. }
  509. if (imagePos < topOfWindow + 150) {
  510. $(this).attr("src", "img/zero/Animacion_00033.png");
  511. }
  512. if (imagePos < topOfWindow + 135) {
  513. $(this).attr("src", "img/zero/Animacion_00034.png");
  514. }
  515. if (imagePos < topOfWindow + 120) {
  516. $(this).attr("src", "img/zero/Animacion_00036.png");
  517. }
  518. if (imagePos < topOfWindow + 105) {
  519. $(this).attr("src", "img/zero/Animacion_00038.png");
  520. }
  521. if (imagePos < topOfWindow + 90) {
  522. $(this).attr("src", "img/zero/Animacion_00039.png");
  523. }
  524. if (imagePos < topOfWindow + 75) {
  525. $(this).attr("src", "img/zero/Animacion_00040.png");
  526. }
  527. if (imagePos < topOfWindow + 60) {
  528. $(this).attr("src", "img/zero/Animacion_00041.png");
  529. }
  530. if (imagePos < topOfWindow + 45) {
  531. $(this).attr("src", "img/zero/Animacion_00042.png");
  532. }
  533. if (imagePos < topOfWindow + 30) {
  534. $(this).attr("src", "img/zero/Animacion_00043.png");
  535. }
  536. });
  537. $('#img-source-1').each(function() {
  538. var imagePos = $(this).offset().top;
  539. if (imagePos < topOfWindow + 600) {
  540. $(this).attr("src", "img/first/animacion r10.png");
  541. }
  542. if (imagePos < topOfWindow + 580) {
  543. $(this).attr("src", "img/first/h10.png");
  544. }
  545. if (imagePos < topOfWindow + 540) {
  546. $(this).attr("src", "img/first/h20.png");
  547. }
  548. if (imagePos < topOfWindow + 520) {
  549. $(this).attr("src", "img/first/h30.png");
  550. }
  551. if (imagePos < topOfWindow + 500) {
  552. $(this).attr("src", "img/first/h40.png");
  553. }
  554. if (imagePos < topOfWindow + 480) {
  555. $("#img-source-1").attr("src", "img/first/h50.png");
  556. }
  557. if (imagePos < topOfWindow + 460) {
  558. $(this).attr("src", "img/first/h60.png");
  559. }
  560. if (imagePos < topOfWindow + 440) {
  561. $(this).attr("src", "img/first/h70.png");
  562. }
  563. if (imagePos < topOfWindow + 420) {
  564. $(this).attr("src", "img/first/h80.png");
  565. }
  566. if (imagePos < topOfWindow + 400) {
  567. $(this).attr("src", "img/first/h90.png");
  568. }
  569. if (imagePos < topOfWindow + 380) {
  570. $(this).attr("src", "img/first/h100.png");
  571. }
  572. if (imagePos < topOfWindow + 360) {
  573. $("#img-source-1").attr("src", "img/first/h110.png");
  574. }
  575. if (imagePos < topOfWindow + 340) {
  576. $(this).attr("src", "img/first/h120.png");
  577. }
  578. if (imagePos < topOfWindow + 320) {
  579. $(this).attr("src", "img/first/h130.png");
  580. }
  581. if (imagePos < topOfWindow + 300) {
  582. $(this).attr("src", "img/first/h140.png");
  583. }
  584. if (imagePos < topOfWindow + 280) {
  585. $(this).attr("src", "img/first/h150.png");
  586. }
  587. if (imagePos < topOfWindow + 260) {
  588. $(this).attr("src", "img/first/h160.png");
  589. }
  590. if (imagePos < topOfWindow + 240) {
  591. $(this).attr("src", "img/first/h170.png");
  592. }
  593. if (imagePos < topOfWindow + 220) {
  594. $(this).attr("src", "img/first/h180.png");
  595. }
  596. if (imagePos < topOfWindow + 200) {
  597. $(this).attr("src", "img/first/animacion 20.png");
  598. }
  599. if (imagePos < topOfWindow + 180) {
  600. $(this).attr("src", "img/first/animacion 30.png");
  601. }
  602. if (imagePos < topOfWindow + 160) {
  603. $(this).attr("src", "img/first/animacion 40.png");
  604. }
  605. if (imagePos < topOfWindow + 140) {
  606. $(this).attr("src", "img/first/animacion 50.png");
  607. }
  608. if (imagePos < topOfWindow + 120) {
  609. $(this).attr("src", "img/first/animacion 60.png");
  610. }
  611. if (imagePos < topOfWindow + 100) {
  612. $(this).attr("src", "img/first/animacion 70.png");
  613. }
  614. if (imagePos < topOfWindow + 80) {
  615. $(this).attr("src", "img/first/animacion 80.png");
  616. }
  617. if (imagePos < topOfWindow + 60) {
  618. $(this).attr("src", "img/first/animacion 90.png");
  619. }
  620. });
  621. $('#img-source-2').each(function() {
  622. var imagePos = $(this).offset().top;
  623. if (imagePos < topOfWindow + 510) {
  624. $(this).attr("src", "img/second/TR 10.png");
  625. }
  626. if (imagePos < topOfWindow + 480) {
  627. $(this).attr("src", "img/second/TR 20.png");
  628. }
  629. if (imagePos < topOfWindow + 450) {
  630. $(this).attr("src", "img/second/TR 30.png");
  631. }
  632. if (imagePos < topOfWindow + 420) {
  633. $(this).attr("src", "img/second/TR 40.png");
  634. }
  635. if (imagePos < topOfWindow + 390) {
  636. $(this).attr("src", "img/second/TR 50.png");
  637. }
  638. if (imagePos < topOfWindow + 360) {
  639. $(this).attr("src", "img/second/TR 60.png");
  640. }
  641. if (imagePos < topOfWindow + 330) {
  642. $(this).attr("src", "img/second/TR 70.png");
  643. }
  644. if (imagePos < topOfWindow + 300) {
  645. $(this).attr("src", "img/second/TR 80.png");
  646. }
  647. if (imagePos < topOfWindow + 270) {
  648. $(this).attr("src", "img/second/TR 90.png");
  649. }
  650. if (imagePos < topOfWindow + 240) {
  651. $(this).attr("src", "img/second/TR 100.png");
  652. }
  653. if (imagePos < topOfWindow + 210) {
  654. $(this).attr("src", "img/second/TR 110.png");
  655. }
  656. if (imagePos < topOfWindow + 180) {
  657. $(this).attr("src", "img/second/TR 120.png");
  658. }
  659. if (imagePos < topOfWindow + 150) {
  660. $(this).attr("src", "img/second/TR 130.png");
  661. }
  662. if (imagePos < topOfWindow + 120) {
  663. $(this).attr("src", "img/second/TR 140.png");
  664. }
  665. if (imagePos < topOfWindow + 90) {
  666. $(this).attr("src", "img/second/TR 150.png");
  667. }
  668. if (imagePos < topOfWindow + 60) {
  669. $(this).attr("src", "img/second/TR 160.png");
  670. }
  671. if (imagePos < topOfWindow + 30) {
  672. $(this).attr("src", "img/second/TR 170.png");
  673. }
  674. if (imagePos < topOfWindow) {
  675. $(this).attr("src", "img/second/TR 180.png");
  676. }
  677. if (imagePos < topOfWindow - 30) {
  678. $(this).attr("src", "img/second/TR 190.png");
  679. }
  680. });
  681. $('#img-source-3').each(function() {
  682. var imagePos = $(this).offset().top;
  683. if (imagePos < topOfWindow + 450) {
  684. $(this).attr("src", "img/third/Calendar10.png");
  685. }
  686. if (imagePos < topOfWindow + 425) {
  687. $(this).attr("src", "img/third/Calendar20.png");
  688. }
  689. if (imagePos < topOfWindow + 400) {
  690. $(this).attr("src", "img/third/Calendar30.png");
  691. }
  692. if (imagePos < topOfWindow + 375) {
  693. $(this).attr("src", "img/third/Calendar40.png");
  694. }
  695. if (imagePos < topOfWindow + 350) {
  696. $(this).attr("src", "img/third/Calendar50.png");
  697. }
  698. if (imagePos < topOfWindow + 325) {
  699. $(this).attr("src", "img/third/Calendar60.png");
  700. }
  701. if (imagePos < topOfWindow + 300) {
  702. $(this).attr("src", "img/third/Calendar70.png");
  703. }
  704. if (imagePos < topOfWindow + 275) {
  705. $(this).attr("src", "img/third/Calendar80.png");
  706. }
  707. if (imagePos < topOfWindow + 250) {
  708. $(this).attr("src", "img/third/Calendar90.png");
  709. }
  710. if (imagePos < topOfWindow + 225) {
  711. $(this).attr("src", "img/third/Calendar100.png");
  712. }
  713. if (imagePos < topOfWindow + 200) {
  714. $(this).attr("src", "img/third/Calendar110.png");
  715. }
  716. if (imagePos < topOfWindow + 175) {
  717. $(this).attr("src", "img/third/Calendar120.png");
  718. }
  719. if (imagePos < topOfWindow + 150) {
  720. $(this).attr("src", "img/third/Calendar130.png");
  721. }
  722. if (imagePos < topOfWindow + 125) {
  723. $(this).attr("src", "img/third/Calendar140.png");
  724. }
  725. if (imagePos < topOfWindow + 100) {
  726. $("#img-source-3").attr("src", "img/third/Calendar150.png");
  727. }
  728. if (imagePos < topOfWindow + 75) {
  729. $(this).attr("src", "img/third/Calendar160.png");
  730. }
  731. if (imagePos < topOfWindow + 50) {
  732. $(this).attr("src", "img/third/Calendar170.png");
  733. }
  734. if (imagePos < topOfWindow + 25) {
  735. $(this).attr("src", "img/third/Calendar180.png");
  736. }
  737. if (imagePos < topOfWindow) {
  738. $(this).attr("src", "img/third/Calendar190.png");
  739. }
  740. if (imagePos < topOfWindow - 25) {
  741. $(this).attr("src", "img/third/Calendar200.png");
  742. }
  743. });
  744. $('#img-source-4').each(function() {
  745. var imagePos = $(this).offset().top;
  746. if (imagePos < topOfWindow + 440) {
  747. $(this).attr("src", "img/fourth/Compu anima10.png");
  748. }
  749. if (imagePos < topOfWindow + 420) {
  750. $(this).attr("src", "img/fourth/Compu anima20.png");
  751. }
  752. if (imagePos < topOfWindow + 400) {
  753. $(this).attr("src", "img/fourth/Compu anima30.png");
  754. }
  755. if (imagePos < topOfWindow + 380) {
  756. $(this).attr("src", "img/fourth/Compu anima40.png");
  757. }
  758. if (imagePos < topOfWindow + 360) {
  759. $(this).attr("src", "img/fourth/Compu anima50.png");
  760. }
  761. if (imagePos < topOfWindow + 340) {
  762. $(this).attr("src", "img/fourth/Compu anima60.png");
  763. }
  764. if (imagePos < topOfWindow + 320) {
  765. $(this).attr("src", "img/fourth/Compu anima70.png");
  766. }
  767. if (imagePos < topOfWindow + 300) {
  768. $(this).attr("src", "img/fourth/Compu anima80.png");
  769. }
  770. if (imagePos < topOfWindow + 280) {
  771. $(this).attr("src", "img/fourth/Compu anima90.png");
  772. }
  773. if (imagePos < topOfWindow + 260) {
  774. $(this).attr("src", "img/fourth/Compu anima100.png");
  775. }
  776. if (imagePos < topOfWindow + 240) {
  777. $(this).attr("src", "img/fourth/Compu anima110.png");
  778. }
  779. if (imagePos < topOfWindow + 220) {
  780. $(this).attr("src", "img/fourth/Compu anima120.png");
  781. }
  782. if (imagePos < topOfWindow + 200) {
  783. $(this).attr("src", "img/fourth/Compu anima130.png");
  784. }
  785. if (imagePos < topOfWindow + 180) {
  786. $(this).attr("src", "img/fourth/Compu anima140.png");
  787. }
  788. if (imagePos < topOfWindow + 160) {
  789. $(this).attr("src", "img/fourth/Compu anima150.png");
  790. }
  791. if (imagePos < topOfWindow + 140) {
  792. $(this).attr("src", "img/fourth/Compu anima160.png");
  793. }
  794. if (imagePos < topOfWindow + 120) {
  795. $(this).attr("src", "img/fourth/Compu anima170.png");
  796. }
  797. if (imagePos < topOfWindow + 100) {
  798. $(this).attr("src", "img/fourth/Compu anima180.png");
  799. }
  800. if (imagePos < topOfWindow + 80) {
  801. $(this).attr("src", "img/fourth/Compu anima190.png");
  802. }
  803. if (imagePos < topOfWindow + 60) {
  804. $(this).attr("src", "img/fourth/Compu anima200.png");
  805. }
  806. });
  807. $('#img-source-5').each(function() {
  808. var imagePos = $(this).offset().top;
  809. if (imagePos < topOfWindow + 375) {
  810. $(this).attr("src", "img/fifth/Tablero anima10.png");
  811. }
  812. if (imagePos < topOfWindow + 360) {
  813. $(this).attr("src", "img/fifth/Tablero anima20.png");
  814. }
  815. if (imagePos < topOfWindow + 345) {
  816. $(this).attr("src", "img/fifth/Tablero anima30.png");
  817. }
  818. if (imagePos < topOfWindow + 340) {
  819. $(this).attr("src", "img/fifth/Tablero anima40.png");
  820. }
  821. if (imagePos < topOfWindow + 330) {
  822. $(this).attr("src", "img/fifth/Tablero anima50.png");
  823. }
  824. if (imagePos < topOfWindow + 320) {
  825. $(this).attr("src", "img/fifth/Tablero anima60.png");
  826. }
  827. if (imagePos < topOfWindow + 310) {
  828. $(this).attr("src", "img/fifth/Tablero anima70.png");
  829. }
  830. if (imagePos < topOfWindow + 300) {
  831. $(this).attr("src", "img/fifth/Tablero anima80.png");
  832. }
  833. if (imagePos < topOfWindow + 290) {
  834. $(this).attr("src", "img/fifth/Tablero anima90.png");
  835. }
  836. if (imagePos < topOfWindow + 275) {
  837. $(this).attr("src", "img/fifth/Tablero anima100.png");
  838. }
  839. if (imagePos < topOfWindow + 260) {
  840. $(this).attr("src", "img/fifth/Tablero anima110.png");
  841. }
  842. if (imagePos < topOfWindow + 245) {
  843. $(this).attr("src", "img/fifth/Tablero anima120.png");
  844. }
  845. if (imagePos < topOfWindow + 230) {
  846. $(this).attr("src", "img/fifth/Tablero anima130.png");
  847. }
  848. if (imagePos < topOfWindow + 215) {
  849. $(this).attr("src", "img/fifth/Tablero anima140.png");
  850. }
  851. if (imagePos < topOfWindow + 200) {
  852. $(this).attr("src", "img/fifth/Tablero anima150.png");
  853. }
  854. if (imagePos < topOfWindow + 190) {
  855. $(this).attr("src", "img/fifth/Tablero anima160.png");
  856. }
  857. if (imagePos < topOfWindow + 180) {
  858. $(this).attr("src", "img/fifth/Tablero anima170.png");
  859. }
  860. if (imagePos < topOfWindow + 170) {
  861. $(this).attr("src", "img/fifth/Tablero anima180.png");
  862. }
  863. if (imagePos < topOfWindow + 160) {
  864. $(this).attr("src", "img/fifth/Tablero anima190.png");
  865. }
  866. if (imagePos < topOfWindow + 145) {
  867. $(this).attr("src", "img/fifth/Tablero anima200.png");
  868. }
  869. if (imagePos < topOfWindow + 130) {
  870. $(this).attr("src", "img/fifth/Tablero anima210.png");
  871. }
  872. if (imagePos < topOfWindow + 120) {
  873. $(this).attr("src", "img/fifth/Tablero anima220.png");
  874. }
  875. if (imagePos < topOfWindow + 110) {
  876. $(this).attr("src", "img/fifth/Tablero anima230.png");
  877. }
  878. if (imagePos < topOfWindow + 100) {
  879. $(this).attr("src", "img/fifth/Tablero anima240.png");
  880. }
  881. if (imagePos < topOfWindow + 90) {
  882. $(this).attr("src", "img/fifth/Tablero anima250.png");
  883. }
  884. if (imagePos < topOfWindow + 75) {
  885. $(this).attr("src", "img/fifth/Tablero anima260.png");
  886. }
  887. if (imagePos < topOfWindow + 60) {
  888. $(this).attr("src", "img/fifth/Tablero anima270.png");
  889. }
  890. if (imagePos < topOfWindow + 45) {
  891. $(this).attr("src", "img/fifth/Tablero anima280.png");
  892. }
  893. });
  894. $('#book1').each(function() {
  895. var rotar = 230 - (barra * 0.10);
  896. var blur = barra / 1000;
  897. var ancho = 125 - (barra / 50);
  898. var marginTop = 1200 - barra / 2.3;
  899. $(this).css({
  900. 'transform': 'rotate(' + rotar + 'deg)'
  901. });
  902. $(this).css({
  903. 'margin-top': marginTop + 'px'
  904. })
  905. $(this).css({
  906. 'width': ancho + 'px'
  907. })
  908. $(this).css({
  909. 'filter': 'blur(' + blur + 'px)'
  910. })
  911. });
  912. $('#book2').each(function() {
  913. var rotar = 35 - (barra * 0.10);
  914. var marginTop = 1000 - barra / 7;
  915. $(this).css({
  916. 'transform': 'rotate(' + rotar + 'deg)'
  917. });
  918. $(this).css({
  919. 'margin-top': marginTop + 'px'
  920. })
  921. });
  922. $('#book3').each(function() {
  923. var rotar = 230 - (barra * 0.10);
  924. var marginTop = 875 - barra / 8;
  925. $(this).css({
  926. 'transform': 'rotate(' + rotar + 'deg)'
  927. });
  928. $(this).css({
  929. 'margin-top': marginTop + 'px'
  930. })
  931. });
  932. $('#book4').each(function() {
  933. var rotar = 90 - (barra * 0.10);
  934. var marginTop = 800 - barra / 3;
  935. $(this).css({
  936. 'transform': 'rotate(' + rotar + 'deg)'
  937. });
  938. $(this).css({
  939. 'margin-top': marginTop + 'px'
  940. })
  941. });
  942. $('#dot1s2').each(function() {
  943. var marginTop = -500 + barra / 5;
  944. $(this).css({
  945. 'margin-top': marginTop + 'px'
  946. })
  947. });
  948. $('#plus1s2').each(function() {
  949. var marginTop = 50 + barra / 3;
  950. $(this).css({
  951. 'margin-top': marginTop + 'px'
  952. })
  953. });
  954. $('#plus2s2').each(function() {
  955. var marginTop = -700 + barra / 3;
  956. $(this).css({
  957. 'margin-top': marginTop + 'px'
  958. })
  959. });
  960. $('#plus3s2').each(function() {
  961. var marginTop = -500 + barra / 5;
  962. $(this).css({
  963. 'margin-top': marginTop + 'px'
  964. })
  965. });
  966. $('#hoja1').each(function() {
  967. var rotar = 230 - (barra * 0.10);
  968. var marginTop = barra / 8;
  969. $(this).css({
  970. 'margin-top': marginTop + 'px'
  971. });
  972. if (cont % 2 == 1) {
  973. $(this).css({
  974. 'margin-left': '760px'
  975. });
  976. } else {
  977. $(this).css({
  978. 'margin-left': '800px'
  979. });
  980. }
  981. });
  982. $('#copo1').each(function() {
  983. var rotar = 230 - (barra * 0.10);
  984. var marginTop = -50 + barra / 25;
  985. var ancho = 190 - (barra / 40);
  986. $(this).css({
  987. 'margin-top': marginTop + 'px'
  988. })
  989. $(this).css({
  990. 'transform': 'rotate(' + rotar + 'deg)'
  991. });
  992. $(this).css({
  993. 'width': ancho + 'px'
  994. })
  995. });
  996. $('#copo2').each(function() {
  997. var rotar = 90 + (barra * 0.05);
  998. var marginTop = -150 + barra / 7;
  999. var ancho = 190 + (barra / 40);
  1000. $(this).css({
  1001. 'margin-top': marginTop + 'px'
  1002. })
  1003. $(this).css({
  1004. 'transform': 'rotate(' + rotar + 'deg)'
  1005. });
  1006. $(this).css({
  1007. 'width': ancho + 'px'
  1008. })
  1009. });
  1010. $('#dot1s3').each(function() {
  1011. var marginTop = -700 + barra / 5;
  1012. $(this).css({
  1013. 'margin-top': marginTop + 'px'
  1014. })
  1015. });
  1016. $('#plus1s3').each(function() {
  1017. var marginTop = -950 + barra / 3;
  1018. $(this).css({
  1019. 'margin-top': marginTop + 'px'
  1020. })
  1021. });
  1022. $('#plus2s3').each(function() {
  1023. var marginTop = -600 + barra / 6;
  1024. $(this).css({
  1025. 'margin-top': marginTop + 'px'
  1026. })
  1027. });
  1028. $('#msg1').each(function() {
  1029. scrolled = barra;
  1030. if (value < scrolled) {
  1031. signo = 1;
  1032. value = scrolled;
  1033. } else {
  1034. if (value > scrolled) {
  1035. signo = -1;
  1036. value = scrolled;
  1037. }
  1038. }
  1039. contMsg1 = contMsg1 + signo;
  1040. var rotar = 45 - (barra * 0.10);
  1041. var blur = barra / 1800;
  1042. var ancho = 175 + contMsg1 / (barra / 2);
  1043. var marginTop = 1950 - barra / 2.3;
  1044. $(this).css({
  1045. 'transform': 'rotate(' + rotar + 'deg)'
  1046. });
  1047. $(this).css({
  1048. 'margin-top': marginTop + 'px'
  1049. })
  1050. $(this).css({
  1051. 'width': ancho + 'px'
  1052. })
  1053. $(this).css({
  1054. 'filter': 'blur(' + blur + 'px)'
  1055. })
  1056. });
  1057. $('#msg2').each(function() {
  1058. var rotar = 180 + (barra * 0.10);
  1059. var blur = barra / 2800;
  1060. var ancho = 150 + barra / 1890;
  1061. var marginTop = 2550 - barra / 2.3;
  1062. $(this).css({
  1063. 'transform': 'rotate(' + rotar + 'deg)'
  1064. });
  1065. if (marginTop > 429) {
  1066. $(this).css({
  1067. 'margin-top': marginTop + 'px'
  1068. })
  1069. } else {
  1070. var marginTopTmp = 400 + barra / 100;
  1071. $(this).css({
  1072. 'margin-top': marginTopTmp + 'px'
  1073. })
  1074. }
  1075. $(this).css({
  1076. 'width': ancho + 'px'
  1077. })
  1078. $(this).css({
  1079. 'filter': 'blur(' + blur + 'px)'
  1080. })
  1081. });
  1082. $('#msg3').each(function() {
  1083. var rotar = 270 + (barra * 0.10);
  1084. var ancho = 50 + barra / 100;
  1085. var marginTop = 1850 - barra / 2.3;
  1086. $(this).css({
  1087. 'transform': 'rotate(' + rotar + 'deg)'
  1088. });
  1089. $(this).css({
  1090. 'margin-top': marginTop + 'px'
  1091. })
  1092. $(this).css({
  1093. 'width': ancho + 'px'
  1094. })
  1095. });
  1096. $('#dot1s4').each(function() {
  1097. var marginTop = -350 + barra / 5;
  1098. $(this).css({
  1099. 'margin-top': marginTop + 'px'
  1100. })
  1101. });
  1102. $('#plus1s4').each(function() {
  1103. var marginTop = -1200 + barra / 3;
  1104. $(this).css({
  1105. 'margin-top': marginTop + 'px'
  1106. })
  1107. });
  1108. $('#plus2s4').each(function() {
  1109. var marginTop = -700 + barra / 6;
  1110. $(this).css({
  1111. 'margin-top': marginTop + 'px'
  1112. })
  1113. });
  1114. $('#dcl1').each(function() {
  1115. scrolled = barra;
  1116. if (value < scrolled) {
  1117. signo = 1;
  1118. value = scrolled;
  1119. } else {
  1120. if (value > scrolled) {
  1121. signo = -1;
  1122. value = scrolled;
  1123. }
  1124. }
  1125. contMsg1 = contMsg1 + signo;
  1126. var rotar = 45 - (barra * 0.10);
  1127. var blur = barra / 2800;
  1128. var ancho = 135 + contMsg1 / (barra / 2);
  1129. var marginTop = 2150 - barra / 3.2;
  1130. $(this).css({
  1131. 'transform': 'rotate(' + rotar + 'deg)'
  1132. });
  1133. $(this).css({
  1134. 'margin-top': marginTop + 'px'
  1135. })
  1136. $(this).css({
  1137. 'width': ancho + 'px'
  1138. })
  1139. $(this).css({
  1140. 'filter': 'blur(' + blur + 'px)'
  1141. })
  1142. });
  1143. $('#dcl2').each(function() {
  1144. var rotar = 180 + (barra * 0.10);
  1145. var blur = barra / 2800;
  1146. var ancho = 80 + barra / 1890;
  1147. var marginTop = 1000 - barra / 5;
  1148. $(this).css({
  1149. 'transform': 'rotate(' + rotar + 'deg)'
  1150. });
  1151. $(this).css({
  1152. 'margin-top': marginTop + 'px'
  1153. })
  1154. $(this).css({
  1155. 'width': ancho + 'px'
  1156. })
  1157. $(this).css({
  1158. 'filter': 'blur(' + blur + 'px)'
  1159. })
  1160. });
  1161. $('#dcl3').each(function() {
  1162. var rotar = 270 + (barra * 0.10);
  1163. var ancho = 150 + barra / 100;
  1164. var marginTop = 450 - barra / 100;
  1165. $(this).css({
  1166. 'transform': 'rotate(' + rotar + 'deg)'
  1167. });
  1168. $(this).css({
  1169. 'margin-top': marginTop + 'px'
  1170. })
  1171. $(this).css({
  1172. 'width': ancho + 'px'
  1173. })
  1174. });
  1175. $('#dot1s5').each(function() {
  1176. var marginTop = -950 + barra / 5;
  1177. $(this).css({
  1178. 'margin-top': marginTop + 'px'
  1179. })
  1180. });
  1181. $('#plus1s5').each(function() {
  1182. var marginTop = -1700 + barra / 3;
  1183. $(this).css({
  1184. 'margin-top': marginTop + 'px'
  1185. })
  1186. });
  1187. $('#plus2s5').each(function() {
  1188. var marginTop = -700 + barra / 6;
  1189. $(this).css({
  1190. 'margin-top': marginTop + 'px'
  1191. })
  1192. });
  1193. $('#texto-0').each(function() {
  1194. var imagePos = $(this).offset().top;
  1195. if (imagePos < topOfWindow + 450) {
  1196. $(this).addClass("slideRight");
  1197. }
  1198. });
  1199. $('#texto').each(function() {
  1200. var imagePos = $(this).offset().top;
  1201. if (imagePos < topOfWindow + 450) {
  1202. $(this).addClass("slideLeft");
  1203. }
  1204. });
  1205. $('#texto-1').each(function() {
  1206. var imagePos = $(this).offset().top;
  1207. if (imagePos < topOfWindow + 450) {
  1208. $(this).addClass("slideRight");
  1209. }
  1210. });
  1211. $('#texto-2').each(function() {
  1212. var imagePos = $(this).offset().top;
  1213. if (imagePos < topOfWindow + 450) {
  1214. $(this).addClass("slideLeft");
  1215. }
  1216. });
  1217. $('#texto-3').each(function() {
  1218. var imagePos = $(this).offset().top;
  1219. if (imagePos < topOfWindow + 450) {
  1220. $(this).addClass("slideRight");
  1221. }
  1222. });
  1223. $('#texto-4').each(function() {
  1224. var imagePos = $(this).offset().top;
  1225. if (imagePos < topOfWindow + 450) {
  1226. $(this).addClass("slideLeft");
  1227. }
  1228. });
  1229. $('#texto-5').each(function() {
  1230. var imagePos = $(this).offset().top;
  1231. if (imagePos < topOfWindow + 450) {
  1232. $(this).addClass("slideRight");
  1233. }
  1234. });
  1235. $('.hide').each(function() {
  1236. if (barra > 15) {
  1237. $(this).css({
  1238. 'opacity': '0'
  1239. });
  1240. $('#link1').removeClass('blue');
  1241. $('#link1').addClass('strong-blue');
  1242. $('#link2').removeClass('blue');
  1243. $('#link2').addClass('strong-blue');
  1244. $('#link3').removeClass('white');
  1245. $('#link3').addClass('strong-blue');
  1246. $('#link4').removeClass('white');
  1247. $('#link4').addClass('strong-blue');
  1248. $('#covid').removeClass('white-button');
  1249. $('#covid').addClass('strong-blue-button');
  1250. } else {
  1251. $(this).css({
  1252. 'opacity': '1'
  1253. });
  1254. $('#link1').removeClass('strong-blue');
  1255. $('#link1').addClass('blue');
  1256. $('#link2').removeClass('strong-blue');
  1257. $('#link2').addClass('blue');
  1258. $('#link3').removeClass('strong-blue');
  1259. $('#link3').addClass('white');
  1260. $('#link4').removeClass('strong-blue');
  1261. $('#link4').addClass('white');
  1262. $('#covid').removeClass('strong-blue-button');
  1263. $('#covid').addClass('white-button');
  1264. }
  1265. });
  1266. $('#cam1').each(function() {
  1267. var rotar = 210 + (barra * 0.10);
  1268. var ancho = 150 + barra / 100;
  1269. var marginTop = 550 - barra / 100;
  1270. $(this).css({
  1271. 'transform': 'rotate(' + rotar + 'deg)'
  1272. });
  1273. $(this).css({
  1274. 'margin-top': marginTop + 'px'
  1275. })
  1276. $(this).css({
  1277. 'width': ancho + 'px'
  1278. })
  1279. });
  1280. $('#cam2').each(function() {
  1281. var rotar = -145 + (barra * 0.10);
  1282. var ancho = 75 + barra / 100;
  1283. var marginTop = 150 - barra / 5;
  1284. $(this).css({
  1285. 'transform': 'rotate(' + rotar + 'deg)'
  1286. });
  1287. $(this).css({
  1288. 'margin-top': marginTop + 'px'
  1289. })
  1290. $(this).css({
  1291. 'width': ancho + 'px'
  1292. })
  1293. });
  1294. $('#cam3').each(function() {
  1295. var rotar = 220 + (barra * 0.10);
  1296. var ancho = 100 + barra / 100;
  1297. var marginTop = 500 - barra / 100;
  1298. $(this).css({
  1299. 'transform': 'scaleX(-1) rotate(' + rotar + 'deg)'
  1300. });
  1301. $(this).css({
  1302. 'margin-top': marginTop + 'px'
  1303. })
  1304. $(this).css({
  1305. 'width': ancho + 'px'
  1306. })
  1307. });
  1308. $('#dot1s0').each(function() {
  1309. var marginTop = -150 + barra / 2.3;
  1310. $(this).css({
  1311. 'margin-top': marginTop + 'px'
  1312. })
  1313. });
  1314. $('#dot2s0').each(function() {
  1315. var marginTop = -200 + barra / 5;
  1316. $(this).css({
  1317. 'margin-top': marginTop + 'px'
  1318. })
  1319. });
  1320. $('#plus1s0').each(function() {
  1321. var marginTop = -200 + barra / 2.3;
  1322. $(this).css({
  1323. 'margin-top': marginTop + 'px'
  1324. })
  1325. });
  1326. });
  1327. $('.hide').hover(function() {
  1328. $(this).css({
  1329. 'opacity': '1'
  1330. })
  1331. })
  1332. $('.hide').mouseleave(function() {
  1333. var barra = $(window).scrollTop();
  1334. if (barra > 150) {
  1335. $(this).css({
  1336. 'opacity': '0'
  1337. });
  1338. $('#link1').removeClass('blue');
  1339. $('#link1').addClass('strong-blue');
  1340. $('#link2').removeClass('blue');
  1341. $('#link2').addClass('strong-blue');
  1342. $('#link3').removeClass('white');
  1343. $('#link3').addClass('strong-blue');
  1344. $('#link4').removeClass('white');
  1345. $('#link4').addClass('strong-blue');
  1346. $('#covid').removeClass('white-button');
  1347. $('#covid').addClass('strong-blue-button');
  1348. } else {
  1349. $(this).css({
  1350. 'opacity': '1'
  1351. });
  1352. $('#link1').removeClass('strong-blue');
  1353. $('#link1').addClass('blue');
  1354. $('#link2').removeClass('strong-blue');
  1355. $('#link2').addClass('blue');
  1356. $('#link3').removeClass('strong-blue');
  1357. $('#link3').addClass('white');
  1358. $('#link4').removeClass('strong-blue');
  1359. $('#link4').addClass('white');
  1360. $('#covid').removeClass('strong-blue-button');
  1361. $('#covid').addClass('white-button');
  1362. }
  1363. });
  1364. // $('.txt').html(function(i, html) {
  1365. // var chars = $.trim(html).split("");
  1366. // return '<span>' + chars.join('</span><span>') + '</span>';
  1367. // });
  1368. </script>
  1369. </body>
  1370. </html>