carousel

Bootstrap 4 carousel with to small thumbnails

久未见 提交于 2021-02-08 11:22:20
问题 I've implemented a bootstrap carousel with thumbnails on my website but the thumbnail size is off, they are way too small. I fiddled some with the CSS code within the foto_new page. But my knowledge of CSS is not enough to get this working. Here is my page code: <head> <title>Reis Foto"s</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="css/lo.css"> <link rel="stylesheet" href="css/boots.css" crossorigin="anonymous

How to set image from API to Carousel in Flutter

不羁的心 提交于 2021-02-07 10:56:21
问题 I want to use a Banner Slider in Flutter apps, so I found a library to make it, namely Carousel . This is a good library but I found a problem for this library, How to set image from API into Carousel? or have any library for support image from API (list), have dot indicator, autoplay like Carousel? 回答1: Use Carousel package -: carousel_slider: ^1.3.0 CarouselSlider( autoPlay: true, pauseAutoPlayOnTouch: Duration(seconds: 5), height: MediaQuery.of(context).size.height * 0.60, items: <Widget>[

How to set image from API to Carousel in Flutter

那年仲夏 提交于 2021-02-07 10:56:08
问题 I want to use a Banner Slider in Flutter apps, so I found a library to make it, namely Carousel . This is a good library but I found a problem for this library, How to set image from API into Carousel? or have any library for support image from API (list), have dot indicator, autoplay like Carousel? 回答1: Use Carousel package -: carousel_slider: ^1.3.0 CarouselSlider( autoPlay: true, pauseAutoPlayOnTouch: Duration(seconds: 5), height: MediaQuery.of(context).size.height * 0.60, items: <Widget>[

How to stop Bootstrap carousel from autosliding?

◇◆丶佛笑我妖孽 提交于 2021-02-05 20:18:51
问题 I have built a bootstrap video carousel. It is working just fine but, the only problem I have is the carousel keeps sliding to the next slide after 5 seconds. How do I make it stop autosliding and only slide when the user clicks on the left or right arrows? I have pasted the code below. <div class="container"> <div id="carousel-example-generic" class="carousel slide" data-ride="carousel" data-pause=hover> <!-- Indicators --> <ol class="carousel-indicators"> <li data-target="#carousel-example

How to stop Bootstrap carousel from autosliding?

可紊 提交于 2021-02-05 20:17:44
问题 I have built a bootstrap video carousel. It is working just fine but, the only problem I have is the carousel keeps sliding to the next slide after 5 seconds. How do I make it stop autosliding and only slide when the user clicks on the left or right arrows? I have pasted the code below. <div class="container"> <div id="carousel-example-generic" class="carousel slide" data-ride="carousel" data-pause=hover> <!-- Indicators --> <ol class="carousel-indicators"> <li data-target="#carousel-example

Bootstrap Carousel not working, does it need javascript code?

こ雲淡風輕ζ 提交于 2021-01-29 12:52:21
问题 I did an exact copy of the Carousel at the Bootstrap page example but it does not work at all. The slide does not work, it keeps in the first image always. Should I add some Javascript? I put the jquery cdn on top of the bootstrap cdn as I saw in many posts about a possible solution, but it still no working. Below it is the html code. <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Cotizador de

vanilla javascript carousel not sliding

心已入冬 提交于 2021-01-29 11:22:09
问题 i have a simple carousel with main div. inside the main div there is a ul that has width of 6000px that slides whenever i click either of right or left arrows. i attached event listeners to both the arrows so when i click left arrow I add 300px to the current marginLeft of that ul(slider) and marginRight 300px for the right arrow. Problem 1: when i click left arrow the ul(slider) moves but only 1 time when i click second time it doesn't move even though i add 300px to marginLeft instead of

How to increase the size of carousel in materialize.css?

≯℡__Kan透↙ 提交于 2021-01-02 07:57:13
问题 I am trying to increase the size of carousel in materialize.css but couldn't get it. I have tried setting height but it didn't work. I googled it but couldn't find any solutions. Could anyone help me with this? 回答1: .carousel .carousel-item { width:300px !important;} this might help, place this code in your css and change width acording to your need. 回答2: Set a minimum height that correlates to the actual height of the images you want to include. For me, that was 900px. .carousel { min-height

How to increase the size of carousel in materialize.css?

吃可爱长大的小学妹 提交于 2021-01-02 07:55:01
问题 I am trying to increase the size of carousel in materialize.css but couldn't get it. I have tried setting height but it didn't work. I googled it but couldn't find any solutions. Could anyone help me with this? 回答1: .carousel .carousel-item { width:300px !important;} this might help, place this code in your css and change width acording to your need. 回答2: Set a minimum height that correlates to the actual height of the images you want to include. For me, that was 900px. .carousel { min-height

Carousel Slider with YouTube videos

爱⌒轻易说出口 提交于 2020-12-30 05:34:54
问题 Is it possible to use JQuery to build a youtube video slider? I'd like to display a few ones I uploaded. Found some answers but made with specific frameworks, if it's possible I'd like to stick with something simple. I found this code very helpful but I can't seem to make it work. JSFiddle $('.play-button').on('click', function () { $(this).hide(); $(this).parent().fadeOut(); $(this).parent().siblings('.slider-video')[0].play(); }); $('.slider-video').on('play', function () { $(this).attr(