jQuery为什么我的某些图标开始看起来不正确 [英] jQuery why some of my icons start looking incorrect
问题描述
我在我的应用程序上使用jQuery mobile,一切正常,但我只是注意到下面的这两项看起来不再正确.
I use jQuery mobile on my app, Everything was ok but I just noticed that these two items below does not look correct anymore.
第一个是一个选择,以前是一个小箭头,而不是那个空的灰色圆圈.
First one is a selection and there used to be a small arrow instead of that empty gray circle.
第二个是过去曾经是动画轮的旋转轮,现在有一个空的灰色圆圈.
And second is the spinnig wheel there used to be the animation wheel now there is an empty gray circle..
不知道代码更改的哪一部分真正影响了这一点吗?
Dont know which part of code change really effected this, any ideas?
推荐答案
Mayu Mayooresan 答案正确无误CDN托管的jQuery-Mobile.
Mayu Mayooresan answer is correct for using CDN-Hosted jQuery-Mobile.
如果要在本地托管,请下载jQuery Mobile ,将文件提取到文件夹/js/
.结构应如下所示:
If you want to Host it locally, download jQuery Mobile, extract the files to folder /js/
. The structure should look like this:
HTML文件,直接在 root 文件夹中
HTML files, directly in root folder
webapp/Index.html
webapp/Index.html
root/JS 文件夹下的脚本
webapp/js/jquery.mobile-1.3.0.min.css
webapp/js/jquery.mobile-1.3.0.min.css
webapp/js/jquery-1.8.2.min.js
webapp/js/jquery-1.8.2.min.js
webapp/js/jquery.mobile-1.3.0.min.js
webapp/js/jquery.mobile-1.3.0.min.js
root/JS/images/文件夹下的图像
webapp/js/images/ajax-loader.gif
webapp/js/images/ajax-loader.gif
webapp/js/images/icons-18-black.png
webapp/js/images/icons-18-black.png
webapp/js/images/icons-36-black.png
webapp/js/images/icons-36-black.png
webapp/js/images/icons-18-white.png
webapp/js/images/icons-18-white.png
webapp/js/images/icons-36-white.png
webapp/js/images/icons-36-white.png
在您的HTML文件中:
In your HTML file:
<head>
<link rel="stylesheet" href="js/jquery.mobile-1.3.0.min.css" />
<script src="js/jquery-1.8.2.min.js"></script>
<script src="js/jquery.mobile-1.3.0.min.js"></script>
</head>
这篇关于jQuery为什么我的某些图标开始看起来不正确的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!