Parallax.js网页背景视差滚动插件

来源:https://www.sucaihuo.com/js/3337.html 2017-12-25 19:35浏览(953) 收藏

Parallax.js网页背景视差滚动插件是一款可以自定义切换背景图片的页面背景视差滚动展示代码,点击网页背景弹出背景图片更换列表,选择即可更换。
Parallax.js网页背景视差滚动插件
分类:3D > 视差 难易:初级
查看演示 下载资源 下载积分: 20 积分

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>
标签: 视差视差背景
评论0
头像

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

1 2