网页中的电话号码实现一键直呼_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:23:59
Original
1528 people have browsed it

问题:

把网站通过手机打开时,希望通过点击电话号码,弹出呼出的菜单。

方法:

使用超链接的tel属性,如下:

备注:把网站嵌入到微信中时,可能有一些特殊的安卓手机不能呼出菜单,原因在微信内嵌的QQ浏览器可能有某些设定进行了拦截,通过在跳转该页面的url后面加上#mp.weixin.qq.com来解决,例如:

web/about.html改写为web/about.html#mp.weixin.qq.com

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template