Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript AnythingSlider Showing three slides, how to center first/current slide

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #36976
    carlnunes
    Member

    AnythingSlider Showing three slides, how to center first/current slide.
    Using AnythingSlider with showMultiple set to 3. How do I get the first or current slide to be in the center of the three? Maybe edit the starting position of the first slide in the JS? Some where it sets the #slider elements inline style to left: -330px; the width of the slide. So If I can offset that by 330px; maybe it will center?

    #98144
    Mottie
    Member

    I don’t have any easy method for this… maybe you could check out MovingBoxes instead. It has a lot of the same coding as AnythingSlider, I know because I work on both of them, but it centers the current image.

    #98145
    carlnunes
    Member

    MovingBoxes should be just fine. Centering seems to be the default behavior. Thank you.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.