Elastislide icon indicating copy to clipboard operation
Elastislide copied to clipboard

How can position the carousel on the link active?

Open vnt opened this issue 12 years ago • 2 comments

Hi Codrops, elastislide is fantastic! How can position the carousel on the link active?

Es. http://demo2.vedanet.it/mr-liena-integratori

If you are Anasterol the page, the carousel is positioned correctly. http://demo2.vedanet.it/anasterol

If you are the page Flavion, the carousel is positioned on Anasterol instead of Flavion.

Thanks alot for your help. D.

vnt avatar Aug 27 '13 09:08 vnt

An active link would be great, as well as an automatic focus on the image when load the page, when we load a specific image in the slider that isn't the first one for instance.

In the meantime, any way to move the slider to focus on a specific image? DIdn't find any API so far.

Vadorequest avatar Jun 24 '14 11:06 Vadorequest

Done. I added the active class by myself.

$('#elastislide_gallery').elastislide({
      minItems : 2,
      start: $('.elastislide-list .active').closest('li').index()
    });

Vadorequest avatar Jun 24 '14 11:06 Vadorequest