CSS-Tricks / MovingBoxes

Simple horizontal slider which grows up the current box when it's in focus (image, title & text) and back down when it's not in focus.
http://css-tricks.github.io/MovingBoxes/
GNU Lesser General Public License v3.0
280 stars 147 forks source link

Initialization and loop problem. #89

Closed jackobr closed 12 years ago

jackobr commented 12 years ago

hi, please help me with my demo:

http://digitto.co/slider/

have 3 problems :

Any suggestions, Tnx

jackobr commented 12 years ago

new link to demo:

http://prostozusa.info/slider/

TNX

Mottie commented 12 years ago

Hi jackobr!

Hmm, yeah I see the problems... maybe this plugin, as it is now, isn't the best choice for you:

  1. It's doesn't really loop like you think it does. It makes a copy of the first slide and sticks it on the end, then makes a copy of the last slide and sticks it on the front; then when the last slide is next to the middle, it switches positioning of the whole group, that's why you see it jump. Some day when I have time, I'll modify this behavior to move each slide independly from the beginning to the end, or vice-versa.
  2. MovingBoxes isn't dynamic, it works with a fixed width and not a percentage width. Granted with some creative css media queries you could resize and update MovingBoxes; but again, my time is very limited at the moment, so I don't have time to work make this kind of modification.
jackobr commented 12 years ago

Hi, Mottie, thank you for help and explanation, now understand a little more... best . Jacek