Bug, If an amount of pictures less than three?


    $('.prettyGallery').prettyGallery({
    'navigation':'bottom',
    'itemsPerPage': 3
    });

    The script starts to deduce easier pictures, with a wide border
  • I can repair less than three

    var item = $("#gallery").find("li");

    if (item.length > 3) {
    $("#gallery").prettyGallery({
    itemsPerPage : 3,
    navigation : 'bottom'
    });
    } else {
    for (index=0; index $(item[index]).attr("style", "position: absolute; left: " + (index * 70 + 15) + "px;");
    }
    }

    This is not good 8(

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!