jQuery 为什么我的一些图标开始看起来不正确 [英] jQuery why some of my icons start looking incorrect

查看:20
本文介绍了jQuery 为什么我的一些图标开始看起来不正确的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的应用程序上使用 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 answer is正确使用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屋!

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