I am using a jquery plugin called 'typed' that types out sentences, one after the other. this is great but I was wondering if it would be possible to pause the code until the text area was visible in the browser window?
As I want people to be able to see the first sentence that is typed, but currently you would miss the first sentence as it's not visible from the top of the page.
This is the page I'm working on: http://jakdesign.webflow.com/
This is the code in the head of the html:
$(document).ready(function( $ ) {
$("#hero-text").typed({
strings: ["First sentence.", "Second sentence."],
typeSpeed: 0
});
});
This is the plugin: https://rawgithub.com/morr/jquery.appear/master/jquery.appear.js