Linking a phone number to dial out

  • 1
  • Question
  • Updated 6 years ago
  • Answered
Hello
Can anyone help, I want to be able to link my phone number to dial out, like email link sends email
Thanks
Sue
Photo of Sue

Sue

  • 3 Posts
  • 0 Reply Likes

Posted 6 years ago

  • 1
Photo of Gop

Gop

  • 7473 Posts
  • 2115 Reply Likes
Hi Sue,

<a href="tel:xxx-xxx-xxxx">

Reference: http://stackoverflow.com/questions/36...
Photo of Sue

Sue

  • 3 Posts
  • 0 Reply Likes
Thanks Gop ,
looks like that might do the trick, I am very new to web building, my site isn't published yet so I guess I am unable to test link as I am working on laptop.
When I publish I will test on iPhone.
I am linking to a mobile number does it matter where I put the -?I have put it after 4th digit.
Thanks for your help
Sue
Photo of Gop

Gop

  • 7473 Posts
  • 2115 Reply Likes
Hi Sue,

I don't even know if the hyphen separators are needed or if they are used to clarify the digits for the illustration. I'm at the same knowledge as yourself so I guess you can only try various permutations.

Please let us know your success (I'm sure). I feel others may be happy with this utility once it's proved.

When doing things like this I find it's always good to publish your site even to a yolasite sub-domain. Many are wary I know, worried about the lack of polish in their development. I promise you that the hoards will not find your site before you get to publish for action. It generally takes some time for your site to be identified by the crawling robots and some experienced developers use this period published with their under-developed site to lessen the time that it takes for the recognition on release. It's frustrating waiting for 6 months for your site to be indexed by Google and the like ;)
Photo of Sue

Sue

  • 3 Posts
  • 0 Reply Likes
I have tried this out , on my other web site, which is published, no luck I'me afraid but looking on the yola packages if I upgrade to silver, they provide the necessary button for mobiles to use. That will have to wait untill I can warrant the £70 per year

Thanks for your help
Sue
Photo of Gop

Gop

  • 7473 Posts
  • 2115 Reply Likes
Hi Sue,

Try it in it's expanded form:

<a href="tel:xxx-xxx-xxxx">xxx-xxx-xxxx</a>

The second occurrence of the number will display on the screen as the link. Sorry I should have included that originally.