Giter Club home page Giter Club logo

jquery-slides's People

Contributors

ph101pp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

jquery-slides's Issues

Next and Prev

Next and Previous functions.. maybe also buttons.

_getLimits and _getCSS

Rewrite, so that the for loop is inside the function.
Function returns the limits/css from all slides not only one.

relative positioning

use relative positioning if possible..

-> one value less to animate everytime.

Issue on reinitialization

Hello,

I'm trying to implement this as a menu system and it needs to be rebuilt when the user adds another tile. I'm using

  • 's and would like to see if there is a way just to rebuild the entire slides function. Is there a 'destroy' method?

    Currently when I try to re-initialize it errors out with:

    Uncaught TypeError: Cannot read property 'undefinedClass' of undefined layout.js:55
    Na layout.js:55
    Oa layout.js:56
    p.event.special.(anonymous function).handle jquery.js:2
    p.event.dispatch jquery.js:2
    g.handle.h jquery.js:2
    p.event.trigger jquery.js:2
    (anonymous function) jquery.js:2
    p.extend.each jquery.js:2
    p.fn.p.each jquery.js:2
    p.fn.extend.trigger jquery.js:2
    $.extend._init jquery.slides.js:227
    $.fn.slides

  • separate slider data

    Separate the data for different sliders on the same page. Don't get a mess!

    Store by id or user-data token.

    Custom Handle

    Create possibility to have a custom handle that triggers activate event

    positioningAbsolute

    Positioning slides absolute... Slides before the active element bound to the left edge and elements after the active one bound to the right edge. The active element fills up the whole space and is trimmed with margins to not overlay the other slides.

    This will make resizing without any javascript possible.

    Change orientation

    Hello,
    First of all, thank you for your work... it was very useful to me.

    I have a problem when I try to change the orientation... how can I do it? I systematically have an error message in my console and everything crashes.

    I would like to do this when my site is displayed on a smartphone and this one is returned

    jquery.slides.js:160 Uncaught TypeError: Cannot read properties of undefined (reading 'active')
    at Function._init (jquery.slides.js:160:61) : slides.css(gS.css.gSHorizontal).filter("."+opts.classes.active).css(gS.css.gSHorizontalActive);
    at $.fn.slides (jquery.slides.js:49:19)
    at initSlider (functions.js:1170:23)
    at index.php:2167:5
    at dispatch (jquery-3.5.0.min.js:2:43107)
    at v.handle (jquery-3.5.0.min.js:2:41091)

    I fixed the bug by doing this : line 155 and 160 (opts.classes.active is undifined)
    slides.css(gS.css.gSVertical).filter(".gsActive").css(gS.css.gSVerticalActive);
    instead of
    slides.css(gS.css.gSVertical).filter("."+opts.classes.active).css(gS.css.gSVerticalActive);
    but it's not great but it works!

    and a destroy function would be perfect :o)

    I know that your project is rather old but it suits me perfectly except for this little bug...

    Thanks

    sorry for my english.. it's a google translate.

    Raphaël Perin.

    hooks

    Hook handling needs to be build.

    Hook need to be queue-able and it has to be possible to add a queue from everywhere - not only in the initialization - to make greenishSlides-plugins possible.

    // this would be possible with either queue() or bind(). BUT:

    Hooks need to be able to affect the process -> returns need to be accessible.

    => need functions triggerHook(data) and bindHook();
    triggerHook() ala "what comes around goes around" with: if false -> break.

    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.