tel

Wordpress change url from http:// to tel:

社会主义新天地 提交于 2019-11-29 17:32:07
I've been stuck on this all day! I'm using a custom wp_nav in Wordpress and I need to change one custom menu item from href="http://555.555.5555" to href="tel:555.555.5555". I've added a class="phone" to the menu-item and I'd like to change it using that class (since I can't add a custom id in WP). I'd prefer it be done onLoad and not onClick. Your help is much appreciated. The code output by Wordpress is: <li id="menu-item-654" class="phone menu-item menu-item-type-custom menu-item-object-custom menu-item-654"><a href="http://555.555.5555">Call</a></li> I need it to look like this using

iPhone Safari making a phone call

爷,独闯天下 提交于 2019-11-29 03:58:10
Is there something I can put in the code for an HTML page I am making for Safari on iPhone to make a call when clicked on? Something similar to: <a href="tel://1300111222">click to call</a> Try to remove // from your link, that is <a href="tel:1300111222">click to call</a> As Nava answered, remove // from your link. But if you are using same web-application for desktop as well as mobile, then this won't work for your desktop and when you click on link, page will gone to "tel:XXXXXXXX". So this idea became fail. Try using "callto" instead of "tel" like this <a href='callto:1300111222'>Click to

Is there a “map:” URI prefix to launch map application? (like mailto: or tel:)

一个人想着一个人 提交于 2019-11-29 01:20:33
Is there such prefix for launching map application on phones, <a href="map:21st,High Street, London">Toto's home</a> like can do <a href="mailto:toto@gmail.com">Toto's mail</a> Andrew Leach geo: is an officially-recognised URI scheme, and maps: may be implemented in some clients. https://en.wikipedia.org/wiki/Geo_URI_scheme In each plantform: Apple Documentation Example: <a href="http://maps.apple.com/?ll=12.34567,8.90123"> Android: Documentation Example: <a href="geo:40.726966,-74.006076"> Windows Phone: Documentation Example: <a href="bingmaps:?cp=40.726966~-74.006076"> Both of the previous

Sending pause to dialer

吃可爱长大的小学妹 提交于 2019-11-28 21:10:49
In a similar vein to Sending Pause and DTMF input in android , I'm trying to send the pause character "," to the dialer. This works on HTC Sense phones and even on the Xoom, but not on "stock experience" phones like the Nexus One or T-Mobile G2 (and I suspect the Motorola Droid). These phones seem to have a dialer that tries to pretty-format the number (ie adding dashes) and stop upon hitting a comma character. Interestingly, it doesn't choke on a "p" character, though it will strip out "p"s and keep adding numbers. Here is what the ActivityManager sees: I/ActivityManager( 92): Starting

Detecting HTML <a> click-to-call support in Javascript

假装没事ソ 提交于 2019-11-28 20:37:45
There are two ways to have click-to-call links in HTML <a href="wtai://wp/mc;+1800229933</a> WTAI style (Nokia, others) <a href="tel:+1-800-275-2273">Call Apple Customer Support at 1-800-275-2273</a>. TEL style (Apple) How one can detect which format is supported by current user agent in Javascript? Is it possible to do the detection without relying the user agent string More info http://www.mobilexweb.com/blog/click-to-call-links-mobile-browsers http://www.raizlabs.com/blog/2007/07/02/iphone-telephone-hyperlinks/ Max Firtman has a great article on how to create click-to-call links for mobile

URL Scheme for Phone Call

守給你的承諾、 提交于 2019-11-27 11:52:19
Much like the "mailto" URL prefix launches the user's default mail program and starts a new email with specified address, is there a similar URL scheme that would initiate a phone call? Perhaps "phone," "call," or "sip"? Incidentally, I'm targeting a platform that is using Cisco CUPS, so there may be a platform-specific way for me to initiate a call that is particular to Cisco, but I thought I'd ask the more general question first. However if anyone knows specifically how to programmatically initiate a call via CUPS, that would be great too. The official standard for providing a telephone

Sending pause to dialer

我只是一个虾纸丫 提交于 2019-11-27 01:46:56
问题 In a similar vein to Sending Pause and DTMF input in android, I'm trying to send the pause character "," to the dialer. This works on HTC Sense phones and even on the Xoom, but not on "stock experience" phones like the Nexus One or T-Mobile G2 (and I suspect the Motorola Droid). These phones seem to have a dialer that tries to pretty-format the number (ie adding dashes) and stop upon hitting a comma character. Interestingly, it doesn't choke on a "p" character, though it will strip out "p"s

href=“tel:” and mobile numbers

孤街醉人 提交于 2019-11-26 21:11:45
If I use tel: I should write the international phone code, like that. <a href="tel:+6494461709">61709</a> So far, so good, but I can't find information on how to write a cell phone number in an "international" way, if there is one. When dialing a number within the country you are in, you still need to dial the national trunk number before the rest of the number. For example, in Australia one would dial: 0 - trunk prefix 2 - Area code for New South Wales 6555 - STD code for a specific telephone exchange 1234 - Telephone Exchange specific extension. For a mobile phone this becomes 0 - trunk

URL Scheme for Phone Call

让人想犯罪 __ 提交于 2019-11-26 15:48:52
问题 Much like the "mailto" URL prefix launches the user's default mail program and starts a new email with specified address, is there a similar URL scheme that would initiate a phone call? Perhaps "phone," "call," or "sip"? Incidentally, I'm targeting a platform that is using Cisco CUPS, so there may be a platform-specific way for me to initiate a call that is particular to Cisco, but I thought I'd ask the more general question first. However if anyone knows specifically how to programmatically