scrolla.js页面滚动触发区块加载动画代码

来源:https://www.sucaihuo.com/js/2003.html 2017-05-21 19:40浏览(1994) 收藏

jquery scrolla.js页面滚动触发区块加载动画。当网页向下或向上滚动时,触发区块动画展示效果js特效。
scrolla.js页面滚动触发区块加载动画代码
分类:css3 > 响应式 难易:中级
查看演示 下载资源 下载积分: 20 积分

js代码

<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>
评论0
头像

系统已开启自动识别垃圾评论机制,识别到的自动封号,下载出错或者资源有问题请联系全栈客服QQ 1915635791

1 2