July 13th, 2012, 10:11 AM
Send to phone link on web page that displays sales territory map
I've been asked to add a page to our website that displays a map of the US with color coded sales territories. Will have a legend on the side of the sales person name with a Send to Phone link. Would like the user to click on that link then a windows comes up to input their cell number and click Send. This will send them a text message with a link. That link pulls up the sales contact number on their phone and they press it to call. There's an example on the FYE dot com website Store Locator. Can't paste the link here.
Don't expect anyone to paste the code here but any info, keywords or ideas on which direction to go would be appreciated. This is on a Linux server and hopefully this could be done with html, js, php or html5. Would like it to work in ie8 also but that will rule out html5.
July 13th, 2012, 07:30 PM
You can use Google Maps for the map.
Sending a text message to an arbitrary mobile number generally requires you to subscribe to a paid SMS gateway API provider. Most mobile network operators provide a free E-Mail to SMS gateway, but you have to know which provider the cell phone number belongs to, which you can't determine from examining the number alone so you would have to ask the user.
Most phones will parse phone numbers out of text messages and make them click-able. If the phone doesn't, there is nothing you can do about it (you can't put HTML in a text message).