Materialisecss: 轮播 &滑块不工作 [英] Materializecss: carousel & slider not working

查看:21
本文介绍了Materialisecss: 轮播 &滑块不工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我找到了解决方案.在页面底部查看我的帖子.

I found out the solution. See my post at the bottom of the page.

我已经用 materializecss 为 joomla 创建了一个模板.一切正常,除了滑块(显示为灰色矩形)和轮播,它只是一个接一个地将图像显示为过时的 div.

I've created a template for joomla with materializecss. Everything works fine except the slider (which displays as a gray rectangle) and carousel which just shows images one after another as obsolete divs.

旋转木马:

滑块:

我在 materializecss 之前导入了 jquery 脚本.我还调用了 carousel.carousel().我使用的滑块和轮播代码与示例中 Materializecss 网站上的代码相同.有人可以帮忙吗?

I've imported the jquery script before materializecss. I've also called the carousel.carousel(). The code for slider and carousel I used is same as on the Materializecss website in examples. Can anyone help?

推荐答案

更新 materializecss 文件解决了问题.我还发现materialize.css的一部分丢失了.

Updating materializecss files solved the problem. I also found out that a part of materialize.css was missing.

这篇关于Materialisecss: 轮播 &滑块不工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆