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

jQuery页面上下滚动触发区块动画特效-精品资源网
jQuery页面上下滚动触发区块动画特效
此内容为免费资源,请登录后查看
0
免费资源

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>

© 版权声明
THE END
点赞0 分享
评论 抢沙发
头像
欢迎您留下宝贵的见解!
提交
头像

昵称

取消
昵称表情代码图片

    暂无评论内容