javascript - jQuery cycle plugin appears to show second image first -
i use cycle.js plugin slideshow, pretty lightweight , great plugin.
however, image use first doesnt show first, shows second image first, problem there navigation beneath slideshow.
jq:
$('#slideshow').after('<div id="ssnav">').cycle({ delay: -12000, next: '#next2', prev: '#prev2', timeout: 8000, pager: '#ssnav', });
html structure:
<div> <img src="#_" /> <p>text</p> </div> <div> <img src="#_" /> <p>text</p> </div> <div> <img src="#_" /> <p>text</p> </div>
you picture, shows second div first - how can counteract this?
the problem in option "delay" used: delay: additional delay (in ms) first transition (hint: can negative)
when remove it, slide-show start @ first one.
you can check options small description this link