jQuery Mobile启动画面问题 [英] Jquery Mobile splash screen problem

查看:91
本文介绍了jQuery Mobile启动画面问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Web应用程序,将站点添加到主屏幕时,启动屏幕出现问题.我环顾四周并移走了&重新添加了代码行,它仍然无法正常工作.

I am working on a web app, and I am having an issue with the splash screen when you add the site to your homescreen. I've looked around and removed & re-added the line of code and it is still not working.

<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<link rel="apple-touch-icon" href="im/h-apple-touch-icon.png">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="apple-touch-startup-image" href="img/loading-splash.png">

这就是我的头部标签中的内容,而我只是对为什么它不起作用感到困惑.

that is what i have in my head tag, and I'm just stuck as to why it will not work.

推荐答案

出现白屏的原因是服务器上不存在您要加载的图像.

The reason that you are getting a white screen is that the image you are trying to load does not exist on the server.

<link rel="apple-touch-startup-image" href="img/loading-splash.png">

链接到此地址: http://kensingtonchurch.org/aaron_dev/img/loading -splash.png

我尝试找到它时得到404.

I get a 404 when trying to find it.

调试移动应用程序的建议

Suggestions for debugging mobile apps:

  • 为Firefox安装用户代理切换器
  • 安装Firebug来排除故障.

此外,Opera具有某种称为Dragonfly的远程调试实用程序.我从未使用过它,但是它可能会有用.

Also, Opera has some sort of Remote debugging utility called Dragonfly. I've never used it, but it could be useful.

这篇关于jQuery Mobile启动画面问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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