物质化:轮播和滑块不起作用 [英] Materializecss: carousel & slider not working

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

问题描述

我找到了解决方案.请参阅页面底部的我的帖子.

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.

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

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