LInk to Addresses & Phone Numbers

Telephone Numbers

402-123-1234

Addresses on Mobile Devices

Go to the original code

NOTE: You do not need the css if you are only using text instead of an icon.

The link below is clickable and opens a map on mobile device.

2055 North 35th Street
Lincoln, NE

It should detect which type of device you have and either open up google maps, or the phones native map app.

In the script code, the only thing you have to change is the:

  • "maps://maps.google.com/maps?daddr=lat,long&ll="
  • "https://maps.google.com/maps?daddr=lat,long&ll="

In order for this to work, you have to have the latitude and longitude codes of your location and replace them in the two URLs where it says 'daddr=lat,long'.