First, include CSS files into your HTML head:
<link type="text/css" rel="stylesheet" href="./public/theme/css/t-scroll.min.css">
Include file t-scroll.min.js
into the footer.
<script type="text/javascript" src="./public/theme/js/t-scroll.min.js"></script>
<div class="zoomIn">"..."</div>
<div class="zoomIn">"..."</div>
if you need setTimeout
, you need insert the container attribute data-t-show="..."
<div class="zoomIn" data-t-show="1">"..."</div>
<div class="zoomIn" data-t-show="2">"..."</div>
<div class="zoomIn" data-t-show="3">"..."</div>
Or you want to 'data-t-show'
run see first screen. You have to add '.t-animated'
<div class="box-center">
<div class="zoomIn t-animated" data-t-show="1"> ... </div>
<div class="zoomIn t-animated" data-t-show="2"> ... </div>
</div>
<script type="text/javascript">
Tu.tScroll({
't-element': '.zoomIn'
})
</script>