<

Carousel: Difference between revisions

From AI4Society Forum

No edit summary
No edit summary
Line 6: Line 6:
   body { background: #00333f; }
   body { background: #00333f; }


   .carouselPrev {
   .carouselPrev, .carouselNext {
     background: #00333f;
     background: #00333f;
  }
  .carouselPrev:hover {
    background: #00333f
   }
   }
</style>
</style>
Line 25: Line 21:
         people.each(function(person){
         people.each(function(person){
             person.set('url', person.get('url').replace("?embed", ""));
             person.set('url', person.get('url').replace("?embed", ""));
            console.log(person.get('url'));
         });
         });
         var view = new CarouselView({el: "#carousel", model: people});
         var view = new CarouselView({el: "#carousel", model: people});

Revision as of 19:11, 21 July 2020