lukeed / bee3d

Support Forum for Bee3D Slider, found @ http://www.lukeed.com/demo/bee3D
MIT License
7 stars 2 forks source link

Instructions for intalling from wiki not working #75

Closed miguelval closed 4 years ago

miguelval commented 4 years ago

Hello, I tried to follow the instructions on the documentation to get the plugin working from here:

https://github.com/lukeed/bee3d/wiki/Getting-Started

But I do not even see a 'dependecies' folder in scripts/dependencies to have this line working:

Do I need to follow a different process to get it to work? I am on a laravel project btw.

lukeed commented 4 years ago

Hey, sorry for that.

From your download, you should be looking at the dist/ directory contents. In there, you'll see this file:

/<path to bee3d>/dist/js/vendor/classie.js

The Getting Started wiki is referencing hypothetical paths you'd be placing these files into. The scripts and styles don't exist either.

Hope that helps!

miguelval commented 4 years ago

Thank you. I am importing the correct files now. The problem now is that, from the example, the slides are not working as expected. I just see the first two sections, but no navigation buttons, or any way to click any of the slides to scroll. image

            <div id="demo" class="bee3D--parent">
              <section class="bee3D--slide">Slide 1</section>
              <section class="bee3D--slide">Slide 2</section>
              <section class="bee3D--slide">Slide 3</section>
              <section class="bee3D--slide">Slide 4</section>
              <section class="bee3D--slide">Slide 5</section>
            </div>   

    <script src="./js/vendor/classie.js"></script> 
    <script src="./js/bee3D.js"></script>
    <script>
      var demo = document.getElementById('demo');

      var slider = new Bee3D(demo, {
        effect: 'concave',
        // ... more options here
      });
      console.log(slider);
    </script>

Any insights? Thanks.

lukeed commented 4 years ago

I would refer you back to the examples & getting started guide:

miguelval commented 4 years ago

Thanks. From the examples, I also noticed I was missing this to show the nav arrows: <span class="bee3D--nav bee3D--nav__prev"></span> <span class="bee3D--nav bee3D--nav__next"></span>

It's working as expected now. Thanks for your help!

lukeed commented 4 years ago

Oh right, I meant to include that in my bullet list.

Glad it's working!