Carousel with image is not working
See original GitHub issueI’m trying to use the Materialize example but I got the following error:
<script type="text/javascript">
$(document).ready(function () {
$('.carousel.carousel-slider').carousel({full_width: true});
});
</script>
<div class="carousel carousel-slider">
<a class="carousel-item" href="#one!"><img src="http://lorempixel.com/800/400/food/1"></a>
<a class="carousel-item" href="#two!"><img src="http://lorempixel.com/800/400/food/2"></a>
<a class="carousel-item" href="#three!"><img src="http://lorempixel.com/800/400/food/3"></a>
<a class="carousel-item" href="#four!"><img src="http://lorempixel.com/800/400/food/4"></a>
</div>
jQuery.Deferred exception: a.indexOf is not a function TypeError: a.indexOf is not a function
Issue Analytics
- State:
- Created 7 years ago
- Reactions:2
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Bootstrap Carousel- why are my images not showing?
I cant understand why the images are not being shown but only the text. I've been looking it up for the past few...
Read more >Image Slider not working properly - WordPress.org
I'm using this ultimate block plugin in my blog. I noticed the Image slider which is included in this plugin is not working...
Read more >[Resolved] image carousel not displaying images - WPML
Dear team, with WPBakery image carousel is not showing, I tried to do some search I think it because of wpml rtl or...
Read more >Image Slider not working in New Google Sites
Image Slider not working in New Google Sites. Hi All, I am Having the following problem. What I want to do: Use an...
Read more >Why don't the Homepage Carousel images display properly?
Likely Cause: There are two possible reasons for this. Different sized images. ... As the images transition from one image to the next,...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Unfortunately, this still does not work. It works sometimes, but other times it is too slow to initialize and so the carousel ends up in a weird position and not aligned like it should, covering up other parts of the site. I just tested this now.
Works for me 😃