html - JQuery Mobile 添加主屏幕选项?

标签 html css mobile cross-browser jquery-mobile

我知道无法将 JQuery 移动应用程序自动添加到主屏幕。

我读到过,最好的方法是检测应用程序是否处于全屏模式,如果没有,则给出说明。我该怎么做?

有哪些可用的跨浏览器选项?是否有任何教程/示例?

请问有人能解释一下吗?

谢谢。

最佳答案

您不能将 Web 应用程序“自动添加”到您的主屏幕,唯一的选择是:http://www.tuaw.com/2008/12/19/iphone-101-add-mobile-websites-to-home-screen/

注意:将 web 应用程序自动添加到您的主屏幕将是一件非常糟糕的事情,试想一下您访问的任何网页都可以自动将其自身添加到您的 iPhone 中。不,谢谢!!!

更新:

我想这就是您要找的:http://code.google.com/p/mobile-bookmark-bubble/ 我为此提出了一个功能请求(在新的小部件下):https://github.com/jquery/jquery-mobile/wiki/Feature-Requests

相关链接:

也许通知弹出? - How to show the "add to home screen" popup window and notifications like the buildin home? - Is there a JQuery plugin for the iPhone that will notify the user to "Bookmark" their app?

关于html - JQuery Mobile 添加主屏幕选项?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6162070/

相关文章:

javascript - 如何打开 Bootstrap 轮播中的每个特定元素?

mobile - 移动应用程序(MVC 除外)中使用的架构模式是什么?

html - 如何防止 CSS 主体影响特定的 Div?

javascript - 在交互式应用程序中拖放游戏

html - Angular2 ng-模板

html - 避免使用 :hover pseudo-class of child element 双边框大小

javascript - 点击后使下拉菜单停留

javascript - 如何使用ajax交换两个表格单元格值并更新到数据库中

jQuery Mobile - 包含外部文件的页脚

video - 用于移动设备的 ffmpeg 视频编码