JQuery Adobe Air 上不显示 Mobile 1.4.5 图标
JQuery Mobile 1.4.5 icons do not display on Adobe Air
我在 Adobe Air 中使用 jquery 移动设备。
当我将 jquery 移动版更新到 1.4.5 时,我发现图标消失了。
我在一个非常简单的 html 中进行测试,当使用 jquery.mobile-1.1.2.css 时,图标工作正常,但当更改为 jquery.mobile-1.4 时。 5.css 图标消失,如屏幕截图所示。
我查看了 1.4.5 图标文件,它们在 images/icons-png.
我使用了太多 1.4.5 的功能而无法切换回 1.1.2。
问题是:
如何修复 1.4.5 中丢失的图标?
有哪些自己调试的技巧?
我通常在 Chrome 中调试,但这在 Chrome 中有效。
我正在测试空气OSX;我的 air CFBundleVersion 是 18.0.0.180
<html>
<head>
<title>Hello World</title>
<script src="AIRAliases.js" type="text/javascript"></script>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="jquery.mobile.js"></script>
<link rel="stylesheet" type="text/css" href="jquery.mobile-1.1.2.css"/>
<!--link rel="stylesheet" type="text/css" href="jquery.mobile-1.1.2.css"/-->
<!--link rel="stylesheet" type="text/css" href="jquery.mobile-1.4.5.css"/-->
</head>
<body>
<h1>Hello World</h1>
<div id="informationPage" data-role="page">
<div data-role="header">
<h1> 1.1.2 </h1>
</div>
<div data-role="content">
<select id="heightDropdown">
<option value="408">Here is 1.1.2.css</option>
<option value="409">4'9"</option>
</select>
</div>
</div>
</body>
</html>
我为提问者工作。
问题来自 AIR 不支持自 jQuery Mobile 1.4.0 以来引入并用作默认格式的 SVG 图标。
使用png图标作为默认格式。下载 jquery.mobile-1.4.5.zip 来自
jQuery 移动网站。然后用jquery.mobile.inline-png.css或jquery.mobile.external-png.css替换jquery.mobile.css。如果使用 jquery.mobile.external-png.css,确保也复制图像文件夹。
我在 Adobe Air 中使用 jquery 移动设备。
当我将 jquery 移动版更新到 1.4.5 时,我发现图标消失了。
我在一个非常简单的 html 中进行测试,当使用 jquery.mobile-1.1.2.css 时,图标工作正常,但当更改为 jquery.mobile-1.4 时。 5.css 图标消失,如屏幕截图所示。
我查看了 1.4.5 图标文件,它们在 images/icons-png.
我使用了太多 1.4.5 的功能而无法切换回 1.1.2。
问题是: 如何修复 1.4.5 中丢失的图标? 有哪些自己调试的技巧?
我通常在 Chrome 中调试,但这在 Chrome 中有效。
我正在测试空气OSX;我的 air CFBundleVersion 是 18.0.0.180
<html>
<head>
<title>Hello World</title>
<script src="AIRAliases.js" type="text/javascript"></script>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="jquery.mobile.js"></script>
<link rel="stylesheet" type="text/css" href="jquery.mobile-1.1.2.css"/>
<!--link rel="stylesheet" type="text/css" href="jquery.mobile-1.1.2.css"/-->
<!--link rel="stylesheet" type="text/css" href="jquery.mobile-1.4.5.css"/-->
</head>
<body>
<h1>Hello World</h1>
<div id="informationPage" data-role="page">
<div data-role="header">
<h1> 1.1.2 </h1>
</div>
<div data-role="content">
<select id="heightDropdown">
<option value="408">Here is 1.1.2.css</option>
<option value="409">4'9"</option>
</select>
</div>
</div>
</body>
</html>
我为提问者工作。
问题来自 AIR 不支持自 jQuery Mobile 1.4.0 以来引入并用作默认格式的 SVG 图标。
使用png图标作为默认格式。下载 jquery.mobile-1.4.5.zip 来自 jQuery 移动网站。然后用jquery.mobile.inline-png.css或jquery.mobile.external-png.css替换jquery.mobile.css。如果使用 jquery.mobile.external-png.css,确保也复制图像文件夹。