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

Panel Image(Left/Right) disappear when continues sliding is turned on #45

Closed aguieb closed 13 years ago

aguieb commented 13 years ago

When wrap is set to true and the focus panel is in the "last" slide and I click forward the left panel image disappears and comes back again.

Same when the "first" panel is set and I click back arrow, the right panel image disappears and comes back again.

BTW.. thanks for fixing issue#44

Mottie commented 13 years ago

Yeah, I know that happens. It's because it scrolls to the last cloned panel, then instantly switches to the first. I really didn't want to clone two panels on either end, it just makes things that much more messy. I figured it happened fast enough that it wouldn't be blatantly obvious, if you have the panels sliding much slower, then I'd suggest increasing the panelWidth option closer to 1 to fill the whole thing.

I don't want to say I won't ever fix it, but I don't plan on changing it right now.

aguieb commented 13 years ago

what i did to make it less noticable is to insert a background image that is non white...

for example

div id="slider-two" style="background-repeat:no-repeat;background-image: url(demo/d.jpg);"