Discussion Forums  >  Images, Documents, File Locations

Replies: 3    Views: 78

jgomez
Aspiring developer
Profile
Posts: 24
Reg: May 10, 2013
Florida
1,790
07/06/13 02:20 PM (11 years ago)

Turning an image into a link to call

I am trying to use an image in the custom HTML screen, so when pressed, it will initiate a phone call. In html, you can turn an image into a link by using the <a href="website.com">image name.jpg</a> tag. Does anybody knows how I can link the image to a phone number? By the way, I am setting the screen, so it recognize phone numbers Any ideas? Thanks
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
07/06/13 03:31 PM (11 years ago)
Supposedly this is how. I've had no issues with iOS. With Android, I think it might depend on the OS Version... <a href="tel:1-671-646-0000">Call Now!</a> http://developer.apple.com/library/ios/#featuredarticles/iPhoneURLScheme_Reference/Articles/PhoneLinks.html http://mobile.tutsplus.com/tutorials/mobile-web-apps/phone-number-links/ Cheers! -- Smug Wow. Totally misread the question. More coffee please! <a href="tel:1-212-236-9292"><img src="./phoneimage.png"></a>
 
jgomez
Aspiring developer
Profile
Posts: 24
Reg: May 10, 2013
Florida
1,790
like
07/07/13 04:43 PM (11 years ago)
Thank you Smug. It worked! Jorge
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
07/07/13 05:04 PM (11 years ago)
Mi Code, Su Code. :) Cheers! -- Smug
 

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.