Windows Phone 7上的jQuery Mobile无法加载图像 [英] jquery mobile on Windows phone 7 images not loading

查看:63
本文介绍了Windows Phone 7上的jQuery Mobile无法加载图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

<link rel="stylesheet" href="scripts/jquery.mobile-1.0.min.css" />
    <script type="text/javascript" src="scripts/jquery-1.7.1.min.js" ></script>
    <script type="text/javascript" src="scripts/jquery.mobile-1.0.min.js" ></script>
    <script type="text/javascript" charset="utf-8" src="scripts/phonegap-1.3.0.js"></script>

图片地址:images/ajax-loader.png

images address: images/ajax-loader.png

我正在使用phonegap和jquery尝试运行我在Windows Phone 7上编写的这个简单应用程序. 它在chrome/ios上运行没有问题(图像显示正确),但是当我在Win Phone 7上运行时,jquery.mobile-1.0.min.css找不到图像,它只是在窗口电话上显示为灰色点7模拟器.

I'm using phonegap and jquery trying to run this simple app i wrote on windows phone 7. it has no problem running on chrome /ios (images displaying properly) but when i run on win phone 7, images can't be found by jquery.mobile-1.0.min.css, it just displayed as a grey dot on window phone 7 emulator.

推荐答案

将图像的生成操作"设置为内容"将解决问题

set the images 'Build Action' as 'Content' will solve the issues

这篇关于Windows Phone 7上的jQuery Mobile无法加载图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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