Solved

suppress click to call on iphone

Posted on 2008-10-07
5
1,263 Views
Last Modified: 2013-12-25
we have an html base application designed for the iphone that is displaying some information in the format
##/##/## ##.###
the iphone insist on allowing the user to click this and call the number.  Since the data is really a date and a numerical code it is nonsensical to call it as a telephone number.  Is it possible to write the html in such a way as to prevent the iphone from trying to help out and prompting the user to make a call?
0
Comment
Question by:PhilC
  • 3
  • 2
5 Comments
 
LVL 14

Accepted Solution

by:
agriesser earned 500 total points
ID: 22659196
Already tried to put shy's in there?
shy's are usually not visible and might break the phone number recognition on the iphone, the below is just an example but you get the idea.
##­/##­/##­ ##.­###

Open in new window

0
 

Author Comment

by:PhilC
ID: 22659454
worked great, just needed to add a single one.
I also found out that adding href="#" works too.
Thanks for your help
0
 
LVL 14

Expert Comment

by:agriesser
ID: 22659569
Great to hear that it worked for you :)
What do you mean with "adding href="#""? make a link out of it?
0
 

Author Comment

by:PhilC
ID: 22659858
yes, if I make it a link the iphone does not treat it as a phone number
0
 
LVL 14

Expert Comment

by:agriesser
ID: 22659906
ok, but then it looks like a link and that's probably something you don't want in your application. Of course, you can modify the style of the link to not look like the other links on your site, but as to my experience, the shy method is the best one.
0

Featured Post

How our DevOps Team Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Get to know the ins and outs of building a web-based ERP system for your enterprise. Development timeline, technology, and costs outlined.
Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.

825 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question