jquery mobile on Windows phone 7 images not loading

梦想与她 提交于 2020-01-05 07:54:08

问题


<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 address: images/ajax-loader.png

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.


回答1:


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



来源:https://stackoverflow.com/questions/8990566/jquery-mobile-on-windows-phone-7-images-not-loading

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!