我下载了 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:

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:

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...
发布评论
评论(1)
除了 CSS 之外,您还应该获得图像,您需要将其复制到图像文件夹中。
along with CSS, you should get the images, which you need to copy to your images folder.