建议从Android浏览器安装应用程序

时间:2014-03-17 16:59:24

标签: javascript php android html google-apps-marketplace

如果我的网页是从Android浏览器打开的话,我需要提出一个iframe,建议安装一个应用程序(在Google Play上)。

我该怎么做?

1 个答案:

答案 0 :(得分:0)

检查浏览器/系统是否为android。 以下jQuery插件可能有所帮助:https://github.com/gabceb/jquery-browser-plugin

如果是android,请将iframe设置为可见。

jQuery('iframe').show();