Monday, 15 July 2013

javascript - Caroufredsel infinite linear easing is adding margin after the last image that fits on screen -



javascript - Caroufredsel infinite linear easing is adding margin after the last image that fits on screen -

i'm using caroufredsel jquery plugin @ http://chiaroscurodev.telegraphbranding.com/ , can see, calculating number of whole images fit on screen given width of browser. adds margin after lastly image before scrolling next images.

my code:

$("#carousel").caroufredsel({ width : "100%", auto: { duration : 40000, easing : "linear", timeoutduration : 0, pauseonhover : "immediate" } });

i carousel infinitely scroll 100% of browser without adding margin after each image, constant stream of images.

also, know how implement feature when click image slides carousel image centered in browser?

thanks help.

javascript jquery carousel caroufredsel

No comments:

Post a Comment