Make phone numbers link clickable to dial on mobile phones.

By | September 24, 2012

Clickable mobile link
Nice tips from Scriptygoddess on how to make phone numbers link clickable to dial on mobile phones.
<a href="wtai://wp/mc;8015551212"> 801-555-1212 </a>

It works great on LoFi mobile devices but will not work on HiFi (Smartphones) devices.

On Smartphones, you want to use the tel extension:
<a href="tel:XXXXXX">Call</a>

 
1 Kudos
Don't
move!

10 thoughts on “Make phone numbers link clickable to dial on mobile phones.

  1. Pingback: Home

  2. Web Design Contractor

    I read this “odd” code on another site that would make it work on an iphone AND the other ones.
    ————————————–

    on other forum i read :
    Call

    so which should we use to get best results!

    and if we use something like:
    206-555-1212

    what will it do, …. logically either of the tags should fail gracefully, and the other should work!

    practically any inputs?

    M.

    Reply
  3. Web Design Contractor

    Okay, let’s try it again without making the code disappear. . . But the preceding example is good for showing what it would look like. . .

    on other forum i read :
    <a href="tel:XXXXXX">Call</a>

    so which should we use to get best results!

    and if we use something like:
    <a href="wtai://wp/mc;2065551212" href="tel:2065551212">206-555-1212</a>

    what will it do, …. logically either of the tags should fail gracefully, and the other should work!

    practically any inputs?

    M.

    Reply
  4. Ahmet Post author

    On the iphone to make a number clickable just enter it with the international standard:
    +41 79 121 12 12 <- This appear as a link on a IPhone, but there is no HTML Tag to specify it. Wtai (from WAP) is not supported by the IPhone. Seems that you will have to detect if the webpage is browsed by an IPhone...

    Reply
  5. Diabolo

    Hi,

    Do you know how to make a clickable video 3G call ?

    I’m searching wtai functions and library and I’ve only found MakeCall, Add to phone book, Send DTMF functions …

    Thanks for your help.

    Reply
  6. qaiser

    What if i want to make it call from my skype? if visiting on desktop and when i click from mobile it should simply call.

    Reply
  7. Ahmet Post author

    Qaiser, if you want to make it a Skype call, the visitor should have the Skyple web-browser plugin installed. As long as you keep to standard when writing the phone number on your site, the plugin will add the Skype-Call button.
    From mobile, it could be either LoFi (use wtai) or HiFi (use tel:).

    Reply

Leave a Reply to Ahmet Cancel reply