Speed Reader
by paulftw
HTML
<div class=target>
Some text lorem ipsum
</div>
<div class='reader'>
<div class='word'>
</div>
</div>
CSS
.reader {
margin: 30px;
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
}
.word {
padding:
}
JavaScript
var txt = '';
var pos = 0;
var words = [];
var Splitter: function(txt) {
};
$('.target').click(function(e) {
var el = $('.target');
txt = el.text();
pos = 0;
});
setInterval(function() {
if (pos )
}, 100);