Skip to content
Luke Edwards edited this page Aug 9, 2015 · 1 revision

Dependency

If you wish to use the parallax effect, you must include the customized parallax library.

Your Javascript asset links will now look like this:

<body>
  <!-- At bottom of page -->
  <script src="scripts/dependencies/classie.js"></script>
  <script src="scripts/dependencies/parallax.min.js"></script>
  <script src="scripts/bee3D.min.js"></script>
</body>

Usage

We can then turn it on insider our Bee3D slider instance, named slider:

var slider = new Bee3D(elem, {
  // ...
  parallax: {
    enabled: true
  }
});

For additional configuration, see the options