Parallax.js网页背景视差滚动插件是一款可以自定义切换背景图片的页面背景视差滚动展示代码,点击网页背景弹出背景图片更换列表,选择即可更换。
js代码
<script src='./js/justParallax.js' type='text/javascript'><script>
<script>
//Default settings
speed: 8; //The speed of the scrolling background, 1 is faster than 10.
vertical: true; //Set to true if the background should scroll vertically.
vertical_inversed: false; //Set to true if the vertical direction should be inversed.
horizontal: true; //Set to true if the background should scroll horizontally.
horizontal_inversed: false; //Set to true if the horizontal direction should be inversed.
//An example of the usage of justParallax.js
var settings = {
speed: 5,
vertical: true,
vertical_inversed: true,
horizontal: true,
horizontal_inversed: false
};
initParallax(settings);
</script>
系统已开启自动识别垃圾评论机制,识别到的自动封号,下载出错或者资源有问题请联系全栈客服QQ 1915635791