nathansearles/Slides — Issue #320: Blinking slides
Author: rafallo
Created: 2011-11-09 16:00:34+00:00
State: open

On initialize slides, container blinks.

I think that start
element shouldn't hide.

replace:
// set css for slides
control.children().css({
position: 'absolute',
top: 0,
left: control.children().outerWidth(),
zIndex: 0,
display: 'none'
});

to

// set css for slides
control.children().css({
position: 'absolute',
top: 0,
left: control.children().outerWidth(),
zIndex: 0
});

control.children(":not(:nth-child(" + (start + 1) + "))").css({
display: 'none'
});