{
    分享网正式开通,我们为大家提供免费资源,欢迎大家踊跃投稿!

jQuery页面上下滚动触发区块动画特效

一款jQuery实现的当页面向下或向上滚动时,网页触发区块动画特效,很有弹性的动感效果。


js代码

<script src="js/jquery-1.11.0.min.js" type="text/javascript"></script>
<script src="dist/scrolla.jquery.min.js"></script>
<script>

$('.animate').scrolla({
	mobile: false,
	once: false
});

$('#button-show-window').click(function() {
	var template = $('#modal-template').html();
	$('body').append(template);
	$('.animate').scrolla('bind');
	$('section.modal .modal-close').click(function() {
		$(this).closest('section.modal').remove();
	});

	return false;
});

</script>


在线预览
资源均来自第三方,谨慎下载,前往第三方网站下载


米微资源分享网 , 版权所有丨本站资源仅限于学习研究,严禁从事商业或者非法活动!丨本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:jQuery页面上下滚动触发区块动画特效
喜欢 ()分享 (0)