Skip to content

Instantly share code, notes, and snippets.

View TattyFromMelbourne's full-sized avatar

Tatiana TattyFromMelbourne

View GitHub Profile
@TattyFromMelbourne
TattyFromMelbourne / tel_markup_example
Created December 15, 2014 13:00
tel markup example
<html>
<head>
<title>tel markup example</title>
<script src="http://code.jquery.com/jquery-2.1.0.min.js"></script> <!-- Does not really matter what version of jQuery you use -->
<script>
var probablyPhone = ((/iphone|android|ie|blackberry|fennec/).test(navigator.userAgent.toLowerCase()) && 'ontouchstart' in document.documentElement);
function initialize() {
if ( !probablyPhone ) {
alert ("Your device is probably not a phone");
( function( $ ) {