Line 108: | Line 108: | ||
<div> | <div> | ||
<h1 data-typer='"Iron deficiency affects more people than any other condition, constituting a public health condition of epidemic proportions"' data-delay="0"></h1> | <h1 data-typer='"Iron deficiency affects more people than any other condition, constituting a public health condition of epidemic proportions"' data-delay="0"></h1> | ||
− | <h1 data-typer="Over <b>30%</b> of the global population suffers from iron deficiency anaemia."data-delay=" | + | <h1 data-typer="Over <b>30%</b> of the global population suffers from iron deficiency anaemia."data-delay="8255"></h1> |
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,600" rel="stylesheet"> | <link href="https://fonts.googleapis.com/css?family=Open+Sans:400,600" rel="stylesheet"> | ||
<script> | <script> | ||
setTimeout(function(){ | setTimeout(function(){ | ||
qsa = document.querySelectorAll.bind(document); | qsa = document.querySelectorAll.bind(document); | ||
− | var pauseMax = | + | var pauseMax = 90, |
− | pauseMin = | + | pauseMin = 40, |
cht = 0; | cht = 0; | ||
qsa("[data-typer]").forEach( | qsa("[data-typer]").forEach( | ||
Line 127: | Line 127: | ||
}); | }); | ||
− | setTimeout(function(){qs("#Header").style.opacity = "1";qs("div.JC").style.cssText += 'background-color:#FFF !important'; qsa(".JC #content-container>div h1, .JC #content-container>div b").forEach(function(e){e.style.color="#FFF"});setTimeout(function(){qsa(".JC #content-container>div h1, .JC #content-container>div b").forEach(function(e){e.style.display="none"});},1000)},(127+71)* | + | setTimeout(function(){qs("#Header").style.opacity = "1";qs("div.JC").style.cssText += 'background-color:#FFF !important'; qsa(".JC #content-container>div h1, .JC #content-container>div b").forEach(function(e){e.style.color="#FFF"});setTimeout(function(){qsa(".JC #content-container>div h1, .JC #content-container>div b").forEach(function(e){e.style.display="none"});},1000)},(127+71)*65 + (2 * 1500)); |
},500); | },500); | ||
</script> | </script> |
Revision as of 20:32, 31 October 2017