-
Notifications
You must be signed in to change notification settings - Fork 0
/
dev.index.html
164 lines (158 loc) · 8.33 KB
/
dev.index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
<!doctype html>
<html>
<head>
<title>Zac Morris, IT Architect</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta charset="UTF-8" />
<meta name="viewport" content="initial-scale=1,user-scalable=no,maximum-scale=1" />
<meta name="robots" content="index, follow" />
<meta name="revisit-after" content="7 days" />
<meta name="msapplication-config" content="browserconfig.xml" />
<meta name="author" content="Zac Morris" />
<meta name="description" content="Personal and professional website of Zac Morris" />
<meta name="keywords" content="IT, Engineer, Architect, HTML5, JavaScript, CSS3, Programmer, Developer, Technology, Java" />
<!-- Twitter Card data -->
<meta name="twitter:card" content="summary" />
<meta name="twitter:title" content="Zac Morris, IT Architect" />
<meta name="twitter:description" content="Personal and Professional website of Zac Morris" />
<meta name="twitter:creator" content="@zacwolf" />
<meta name="twitter:url" content="http://www.zacwolf.com" />
<meta name="twitter:image" content="http://zacwolf.com/images/twitter/zacwolf_twitter.png" />
<!-- OG data -->
<meta property="og:type" content="website" />
<meta property="og:title" content="Zac Morris, IT Architect" />
<meta property="og:author" content="Zac Morris" />
<meta property="og:description" content="Personal and Professional website of Zac Morris, IT Architect" />
<meta property="og:url" content="http://www.zacwolf.com" />
<meta property="og:link" content="http://zacwolf.com" />
<meta property="og:site_name" content="Zac Morris"/>
<meta property="og:image" content="http://www.zacwolf.com/images/LOGO/zacwolf_logo_trans_500.png" />
<meta property="og:image:type" content="image/png" />
<meta property="og:image:width" content="500" />
<meta property="og:image:height" content="500" />
<link rel='publisher' href='https://plus.google.com/+ZacMorris' />
<link rel="apple-touch-icon" href="/images/LOGO/apple/apple-touch-icon.png" />
<link rel="apple-touch-icon-precomposed" href="/images/LOGO/apple/apple-touch-icon-precomposed.png" />
<link rel="icon" sizes="16x16" href="/images/LOGO/icons/zacwolf.ico" />
<link rel="icon" sizes="24x24" href="/images/LOGO/icons/zacwolf24.ico" />
<link rel="icon" sizes="32x32" href="/images/LOGO/icons/zacwolf32.ico" />
<link rel="icon" sizes="48x48" href="/images/LOGO/icons/zacwolf48.ico" />
<link rel="icon" sizes="64x64" href="/images/LOGO/icons/zacwolf64.ico" />
<link rel="icon" sizes="128x128" href="/images/LOGO/icons/zacwolf128.ico" />
<link rel="icon" sizes="256x256" href="/images/LOGO/icons/zacwolf256.ico" />
<link rel="manifest" href="manifest.json" />
<base target="_blank" />
<!--[if gte IE 9]><style type="text/css">.gradient{filter:none;}</style><![endif]-->
<script>
if (typeof String.prototype.endsWith !== 'function') {
String.prototype.endsWith = function(suffix) {
return this.indexOf(suffix, this.length - suffix.length) !== -1;
};
}
if (typeof String.prototype.startsWith !== 'function') {
String.prototype.startsWith = function(suffix) {
return this.indexOf(suffix, this.length - suffix.length) == 0;
};
}
window.Modernizr=function(a,b,c){function w(a){i.cssText=a}function x(a,b){return w(prefixes.join(a+";")+(b||""))}function y(a,b){return typeof a===b}function z(a,b){return!!~(""+a).indexOf(b)}function A(a,b){for(var d in a){var e=a[d];if(!z(e,"-")&&i[e]!==c)return b=="pfx"?e:!0}return!1}function B(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:y(f,"function")?f.bind(d||b):f}return!1}function C(a,b,c){var d=a.charAt(0).toUpperCase()+a.slice(1),e=(a+" "+m.join(d+" ")+d).split(" ");return y(b,"string")||y(b,"undefined")?A(e,b):(e=(a+" "+n.join(d+" ")+d).split(" "),B(e,b,c))}var d="2.8.3",e={},f=b.documentElement,g="modernizr",h=b.createElement(g),i=h.style,j,k={}.toString,l="Webkit Moz O ms",m=l.split(" "),n=l.toLowerCase().split(" "),o={},p={},q={},r=[],s=r.slice,t,u={}.hasOwnProperty,v;!y(u,"undefined")&&!y(u.call,"undefined")?v=function(a,b){return u.call(a,b)}:v=function(a,b){return b in a&&y(a.constructor.prototype[b],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(b){var c=this;if(typeof c!="function")throw new TypeError;var d=s.call(arguments,1),e=function(){if(this instanceof e){var a=function(){};a.prototype=c.prototype;var f=new a,g=c.apply(f,d.concat(s.call(arguments)));return Object(g)===g?g:f}return c.apply(b,d.concat(s.call(arguments)))};return e});for(var D in o)v(o,D)&&(t=D.toLowerCase(),e[t]=o[D](),r.push((e[t]?"":"no-")+t));return e.addTest=function(a,b){if(typeof a=="object")for(var d in a)v(a,d)&&e.addTest(d,a[d]);else{a=a.toLowerCase();if(e[a]!==c)return e;b=typeof b=="function"?b():b,typeof enableClasses!="undefined"&&enableClasses&&(f.className+=" "+(b?"":"no-")+a),e[a]=b}return e},w(""),h=j=null,e._version=d,e._domPrefixes=n,e._cssomPrefixes=m,e.testProp=function(a){return A([a])},e.testAllProps=C,e}(this,this.document);
function meetsMinSize(minw,minh){
var h = "innerHeight" in window
? window.innerHeight
: document.documentElement.offsetHeight;
var w = "innerWidth" in window
? window.innerWidth
: document.documentElement.offsetWidth;
var ratio = window.devicePixelRatio || 1;
var realh = h * ratio;
var realw = w * ratio;
return w>minw && h>minh;
}
function windowResize(){
if (Modernizr.testProp('backgroundSize') && meetsMinSize(590,475)){
window.location = "dev.full.html";
} else {
window.location = 'dev.mobile.html';
}
}
function init(){
var location_timeout = setTimeout(windowResize, 10000);//Give user 10 seconds to answer the allow location question
try{
if (navigator.geolocation) {
navigator.geolocation.getCurrentPosition(
function(position) {
if (//Relatively a square from Utica, down to New Haven and east out to sea
position.coords.latitude>40.61
&& position.coords.latitude<44.83
&& position.coords.longitude<-68.78
&& position.coords.longitude>-75.50
){
clearTimeout(location_timeout);
location_timeout = setTimeout(windowResize, 30000);//Give user 30 seconds to select which site.
document.getElementById("zacwolfphotography").style.display="inline-block";
} else {
windowResize();
}
}
,function(error) {
clearTimeout(location_timeout);
windowResize();
}
,{ enableHighAccuracy:false, timeout:10000, maximumAge:86400000 }
);
} else {
windowResize();
}
} catch(err){
windowResize();
}
}
</script>
</head>
<body bgcolor="#000000" onload="init()">
<img id="pageloading" src="/images/pageload3.gif" width="150" height="150" style="width:150px;height:150px;position:absolute;top:50%;left:50%;margin-left:-75px;margin-top:-75px;z-index:-64001;">
<div id="zacwolfphotography"
title="zacwolf.com or zacxwolf.com?"
style=" -webkit-transform-style: preserve-3d;
-moz-transform-style: preserve-3d;
transform-style: preserve-3d;
position:absolute;
text-align:center;
top:0;
bottom:0;
left:0;
right:0;
display:none;
"><div style=" position: absolute;
top: 50%;
left:50%;
transform: translate(-50%,-50%);
padding: 20px;
border-radius: 10px;
background: #fff;
background: -moz-linear-gradient(#fff, #999);
background: -webkit-linear-gradient(#fff, #999);
background: -o-linear-gradient(#fff, #999);
text-align:center;
font-family:Arial, Helvetica, sans-serif;
font-size:18pt;
border:2px solid #9E05B3;
"> Your location is near the Boston area.<br />
Which are you looking for:<br />
<br />
<a onclick="windowResize()" href="#"><img
id="sitechoice_zacwolf"
src="/images/LOGO/zacwolf_logo_trans_circle.png"
title="Personal website for Zac Morris of Durham NC"
style="display:inline;width:150px;height:150px;"
/></a>
<a href="http://www.zacxwolf.com"><img
id="sitechoice_zacxwolf"
src="/images/LOGO/zacwolfphotography.png"
title="Professional website for the photographer Zac Wolf of Boston, MA"
style="display:inline;width:150px;height:150px;"
/></a>
</div>
</div>
</body>
</html>