diff options
Diffstat (limited to 'www/lib/angular-carousel/index.html')
| -rw-r--r-- | www/lib/angular-carousel/index.html | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/www/lib/angular-carousel/index.html b/www/lib/angular-carousel/index.html index 4ed5efde..374104ea 100644 --- a/www/lib/angular-carousel/index.html +++ b/www/lib/angular-carousel/index.html @@ -155,7 +155,7 @@ <br> </div> <div class="carousel-demo" > - + <ul rn-carousel rn-carousel-index="carouselIndex7" rn-carousel-buffered rn-carousel-on-infinite-scroll-right="loadNextImages()" rn-carousel-on-infinite-scroll-left="loadPreviousImages()" class="carousel5"> <li ng-repeat="slide in slides7 track by slide.id"> <div ng-style="{'background-image': 'url(' + slide.img + ')'}" class="bgimage"> @@ -245,7 +245,7 @@ $scope.slides6.push(getSlide($scope.slides6, 'people')); } } - + // End to End swiping // load 130 images in main javascript container var slideImages = []; @@ -265,25 +265,25 @@ $scope.totalimg = slideImages.length; $scope.galleryNumber = 1; console.log($scope.galleryNumber); - + function getImage(target) { var i = target.length , p = (($scope.galleryNumber-1)*$scope.setOfImagesToShow)+i; console.log("i=" + i + "--" + p); - + return slideImages[p]; } function addImages(target, qty) { - + for (var i=0; i < qty; i++) { addImage(target); } } - + function addImage(target) { target.push(getImage(target)); } - + $scope.slides7 = []; $scope.carouselIndex7 = 0; $scope.setOfImagesToShow = 3; @@ -321,7 +321,7 @@ addImages($scope.slides7, $scope.setOfImagesToShow); console.log("no images left"); } - + } }) |
