Git Product home page Git Product logo

lbslider's Issues

Can this slider work vertically?

Does anyone know what change(s) are required to have this slider work vertically as oppose to horizontally (per demo)?

Thank you,

AJ

How to refresh slider?

Hello,
First of all thank you for your script.

I'm using it on a responsive design, it happens that when i adjust browser window size, photo containers sizes don't adjust automatically. Is there a solution for this? How can i "re-initialize" lbSlider?Thanks.

Slider does not work with dynamically generated HTML??

I have a jQuery plugin which takes a HTML div element and generates the ul li span img snippet to it. The generated snippet looks something like this:

After above is generated by my plugin and added to the

element, I then run the lbSlider plugin on this div element. And it does not work.
If, however, I hard code the exact same generated snippet HTML code , it works fine.

Please advise as how I can make this work.
Thank you so kindly,

Email: [email protected]

P.S - Below please find my code:

<script type="text/javascript">
    $(document).ready(function() {

        $("#listOfClusters").clusterViewList({
            clusterSelectedHandler : function(event, data) {
                alert("clusterSelected was call with data=" + data)
            }
        });
        // after above plugin is finished the #listOfClusters div element has a <ul> element with about 6-7 <li> elements each holding an <img> element.  Calling lvlSlider does not work in this case. However if I hard code the same exact generated snippet code manually under #listofClusters div element, it works just fine.
        $("#listOfClusters").lbSlider({
            leftBtn : '.sa-left',
            rightBtn : '.sa-right',
            visible : 5,
            autoPlay : true,
            autoPlayDelay : 5
        });
    });
</script>

<div class="slider-wrap">

<
>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.