JQuery Mobile 添加主屏幕选项?
我知道无法将 JQuery 移动应用程序自动添加到主屏幕。
我读到最好的方法是检测应用程序是否处于全屏状态,如果没有则给出说明。我该怎么做?
有哪些可用的跨浏览器选项?是否有任何教程/示例?
有人能解释一下吗?
谢谢。
I know that there is no way of auto adding the JQuery Mobile App to the Home Screen.
I've read that the best way is to detect if the app is in full screen and if not give instructions. How would I do this?
What are the cross browser options available and are there any tutorials / samples anywhere?
Can anyone put some light on this please?
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您无法将网络应用程序“自动添加”到主屏幕,唯一的选择是:http://www.tuaw.com/2008/12/19/iphone-101-add-mobile-websites-to-home-screen/
注意:自动将网络应用程序添加到主屏幕将是一件非常糟糕的事情,想想你访问的任何网页都可以自动添加到你的 iPhone 中。不,谢谢!!!
更新:
我认为这就是您正在寻找的内容:http://code. google.com/p/mobile-bookmark-bubble/
我为此提出了一个功能请求(在新小部件下): https:// github.com/jquery/jquery-mobile/wiki/Feature-Requests
相关链接:
也许会弹出通知?
- 如何显示“添加到主屏幕”弹出窗口和通知(如内置主页)?
- 是否有适用于 iPhone 的 JQuery 插件可以通知用户为其应用程序“添加书签”?
You can not 'Auto Add' as webapp to your home screen, the only option is thing: http://www.tuaw.com/2008/12/19/iphone-101-add-mobile-websites-to-home-screen/
Note: Auto Adding a webapp to your homescreen would be a really bad thing, just think any webpage you went to could auto add itself to your iphone. NO THANKS!!!
UPDATE:
I think this is what you're looking for: http://code.google.com/p/mobile-bookmark-bubble/
I have made a Feature Request (under new widgets) for this: https://github.com/jquery/jquery-mobile/wiki/Feature-Requests
Related Links:
Maybe Notification Popup?
- 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?
这是另一个针对 iOS 浏览器的脚本,看起来与 mobile-bookmark-bubble 类似:
http://cubiq.org/add-to-home-screen
一些工作已经完成此处完成以添加对 Android 的支持:
http://code.google.com/p/mobile -bookmark-bubble/issues/detail?id=12
http://code.google.com/p/mobile -bookmark-bubble/issues/detail?id=17
Here's another script targeted at iOS browsers that seems similar to mobile-bookmark-bubble:
http://cubiq.org/add-to-home-screen
Some work has been done here to add support for Android:
http://code.google.com/p/mobile-bookmark-bubble/issues/detail?id=12
http://code.google.com/p/mobile-bookmark-bubble/issues/detail?id=17