TheThe Image Slider
Bug with left arrow on Slide from Right transitions (1 post)

  1. Richard
    Posted 3 years ago #

    I know you can set transitions per image (which is annoying when you can set a global one), but surely if all the images in a gallery are set to "slide from right" and someone presses the left arrow it should slide from the left.

    That exception should be considered, all other types are fine - but it does not look natural to see it slide back the wrong way!

    I've hardcoded it myself:

    if (prev){
    	index = ((this.currentIndex-2) < 0) ? (this.slideLength-1) : (this.currentIndex-2);
    	if (this.arrSParams[index].transition == 'slideright'){
    	else {
    } else {

    But can we not have this built in please?

    Also, global transitions? ... I've a client that needs to upload hundreds of images, it's tedious :(

    Otherwise, awesome work!


Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic