Text Typing Script
Html
==================
<h1><span id="type1"></span></h1>
JS
==================
<script src="https://cdn2.hubspot.net/hubfs/4567973/Pet%20Clinic%20Website/JS/typed.js"></script>
<script>
document.addEventListener('DOMContentLoaded', function(){
Typed.new('#type1', {
strings: ["^Helping your dog live a fuller life.", "^The best you can do for your dog.", "^You keep them happy, we’ll keep them healthy.", "^Live lighter, Love longer.", "^Your Pet. Our Passion."],
typeSpeed: 0,
showCursor: true,
backSpeed: 0,
backDelay: 1600,
loop: true,
});
});
</script>
Comments
Post a Comment