Coder Social home page Coder Social logo

rambling.slider's People

Contributors

gonzedge avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

rambling.slider's Issues

Feature request: specify theme on init

Add the theme option to be specified on initializing, like this:

$('#slider').ramblingSlider({theme: 'whatever'});

Which will in turn result in this:

<div id="slider" class="ramblingSlider theme-whatever">
...
</div>

Feature request: Support valid markup

The html should be changed from this:

<div id="slider">
  <img src="image1.jpg" alt="" />
  <img src="image2.jpg" alt="" />
  <img src="image3.jpg" alt="" />
  <a href="link"><img src="image4.jpg" alt="" /></a>
</div>

To this:

<div id="slider">
  <ul>
    <li><img src="image1.jpg" alt="" /></li>
    <li><img src="image2.jpg" alt="" /></li>
    <li><img src="image3.jpg" alt="" /></li>
    <li><a href="link"><img src="image4.jpg" alt="" /></a></li>
  </ul>
</div>

Also take into account the dynamically generated html.

Issue with links

Let's say, I added 3 slides with 3 different links:

a href="link_1" img /a
a href="link_2" img /a
a href="link_3" img /a

For some reason on the fron-end all slides have one link, common for all - "link_3" (or link of the final slide),
like if I added:

a href="link_3" img /a
a href="link_3" img /a
a href="link_3" img /a

Also, if 1st slide doesn't include the link, anyway it will be linked with "link_3" on the front-end.

For example:

just img
a href="link_2" img /a
a href="link_3" img /a

Will work like:

a href="link_3" img /a
a href="link_3" img /a
a href="link_3" img /a

I am using last version - 0.3.1

Feature request: methods to go to the next, previous and specific slide

Write some methods so that you can go to the previous slide like this:

$('#slider').ramblingSlider('previousSlide')

To the next slide like this:

$('#slider').ramblingSlider('nextSlide')

And to any specific slide like this:

$('#slider').ramblingSlider('slide', 2)

Also to get the current slide:

$('#slider').ramblingSlider('slide')

The 'fade' animation happening even when not listed

When the effect is set to a list that doesn't include the 'fade' effect, it still sometimes uses that animation.

Also, when the effect is set to 'random', the 'fade' effect happens more often than the other ones.

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.