js代码
<script src="js/jquery-1.11.0.min.js" type="text/javascript"></script> <script type="text/javascript" src="theme/js/bootstrap.min.js"></script> <script type="text/javascript" src="theme/js/t-scroll.min.js"></script> <script type="text/javascript"> Tu.t_scroll({ 't_element': '.title .slideDown', 't_duration': 0.1, 't_delay': 0.5 }) Tu.t_scroll({ 't_element': '.section-function .slideDown', 't_duration': 0.5, }) Tu.t_scroll({ 't_element': '.section-function .slideUp', 't_duration': 0.5, }) Tu.t_scroll({ 't_element': '.slideRight' }) Tu.t_scroll({ 't_element': '.slideLeft' }) </script>