jQuery UI 进度条主题不起作用?

发布于 2024-11-10 04:46:22 字数 988 浏览 3 评论 0 原文

我下载了 jQuery UI 进度条组件,以便我可以向页面添加进度条。我想要一个特定的主题,该网站允许您下载组件 http://jqueryui.com/demos/progressbar / 有一个主题。我选择了“开始”主题(带有波浪的蓝色)。

它下载了一个示例文件以及一个 css 文件夹,其中所有图像都位于 css 文件夹中。当我运行该示例时,我看到正确的进度条:

在此处输入图像描述

所以我查看 html,它有下面是这个示例页面:

<link type="text/css" href="css/start/jquery-ui-1.8.13.custom.css" rel="stylesheet" />

<script type="text/javascript" src="js/jquery-1.5.1.min.js"></script>

<script type="text/javascript" src="js/jquery-ui 1.8.13.custom.min.js"></script>

所以我所做的是将所有这些文件夹 js、css 添加到我的项目中,并向我的页面添加一个进度条:

<div id="progressbar"></div>

现在,当我在我的项目中运行它并运行我的项目时,我的进度条看起来是默认的没有主题的橙色,如下所示:

是否有某个地方/其他地方我错过了,没有正确主题这个进度条,我做了我想的正是这个例子的作用......

I downloaded jQuery UI the progressbar component so that I can add a progress bar to my page. I wanted a certain theme that the site allows you to download the component http://jqueryui.com/demos/progressbar/ with a theme. I chose the "start" theme (blueish with a wave).

It downloaded an example file along with a css folder with all the images inside of the css folder. When I run the example I see the correct progress bar:

enter image description here

So I look at the html and it has the following for this example page:

<link type="text/css" href="css/start/jquery-ui-1.8.13.custom.css" rel="stylesheet" />

<script type="text/javascript" src="js/jquery-1.5.1.min.js"></script>

<script type="text/javascript" src="js/jquery-ui 1.8.13.custom.min.js"></script>

So what I did was add all these folders js, css to my project and add a progress bar to my page:

<div id="progressbar"></div>

Now when I run it in my project and run my project my progress bar looks to be a default orange with no theme, like so:

enter image description here

Is there somewhere / something else I am missing that doesn't correctly theme this progress bar, I did what I think exactly what the example does...

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

伪心 2024-11-17 04:46:22

除了 CSS 之外,您还应该获得图像,您需要将其复制到图像文件夹中。

along with CSS, you should get the images, which you need to copy to your images folder.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文