Caroufredsel Infinite Linear Easing Adds Margin After Last Image That Fits On Screen

I'm using the jQuery plugin for CarouFredsel at http://chiaroscurodev.telegraphbranding.com/ , and as you can see, it calculates the number of ALL images that will be displayed on the screen by the browser width. It then adds margin after this last image before scrolling through the next images.

My code:

$("#carousel").carouFredSel({
            width       : "100%",
            auto: { 
                duration        : 40000,
                easing          : "linear",
                timeoutDuration : 0,
                pauseOnHover    : "immediate"
            }

        });

      

I would like the carousel to scroll infinitely 100% of the browser without adding any fields after each image, just a constant stream of images.

Also, does anyone know how I can implement a function where when clicking on an image it moves the carousel so that the image is centered in the browser?

Thank you for your help.

+3


source to share





All Articles