erik-krogh / SudoSlider

The most versatile jQuery content slider
36 stars 24 forks source link

absolute positioned elements inside slide bump #9

Closed photocurio closed 10 years ago

photocurio commented 10 years ago

Each slide is relatively positioned, so it should be possible to put an element inside the slide with absolute positioning, like if you want a caption to sit on top of an image. In my demo, the caption gives a little bump when a new slide arrives in place. I'm trying to get rid of that bump. The caption is absolute positioning and bottom:0.

webbiesdk commented 10 years ago

Try to use div tags inside the slider instead of ul and li tags.

When i added support for other tags than ul and li it was mostly because they tend to do stuff like the bug you are seeing.

So if you set it up like my basic demo: http://webbies.dk/assets/files/SudoSlider/package/demos/basic.html Everything should be fine.

photocurio commented 10 years ago

Ah, that fixed it!