Discussion Forums  >  Images, Documents, File Locations

Replies: 1    Views: 79

TraceCampbellBSNRN
buzztouch Evangelist
Profile
Posts: 233
Reg: Dec 16, 2011
Forney
3,680
10/08/12 05:53 PM (13 years ago)

phone number links to images

Is there a way to add an image into the custom html plugin and when the user taps it a phone number comes up for them to call?
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
10/09/12 01:04 AM (13 years ago)
Sure. On iOS, Safari recognizes phone numbers in HTML. <a href="tel:1-408-555-5555">1-408-555-5555</a> would show the number in the HTML. <a href="tel:1-408-555-5555"><img src='url to image'></a> would show an image, tapping image would trigger the dialer.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.