This repository has been archived by the owner on Oct 1, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
/
404.html
142 lines (102 loc) · 4.22 KB
/
404.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
<!DOCTYPE html>
<html>
<head>
<title>Bilal Syed Hussain</title>
<meta name="author" content="Bilal Hussain" />
<meta name="description" content="Bilal Hussain " />
<meta name="robots" content="noodp, nydir" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="/css/blueprint/screen.css" type="text/css" rel="stylesheet" />
<!--[if lt IE 8]> <link href="/css/blueprint/ie.css" type="text/css" rel="stylesheet" /> <![endif]-->
<link href="/css/railscasts.css" type="text/css" rel="stylesheet" />
<link href="/css/site.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="/js/jquery.js"></script>
<script type="text/javascript" src="/js/site.js"></script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-26827948-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
<script src="https://www.google.com/jsapi?key=ABQIAAAAiqVTU5OSSot1cR3lwcUaRhQPs6C_P29mBdw5cor5GsRcwXY76RSRx8xGbDAbXn6RjwDCYn67tbc_hg" type="text/javascript"></script>
<script language="Javascript" type="text/javascript">
//<![CDATA[
google.load("search", "1");
function OnLoad() {
// Create a search control
var searchControl = new google.search.SearchControl();
// Add in a WebSearch
var webSearch = new google.search.WebSearch();
// Restrict our search to pages from this site
webSearch.setSiteRestriction('bilalh.github.com');
// Add the searcher to the SearchControl
searchControl.addSearcher(webSearch);
// tell the searcher to draw itself and tell it where to attach
searchControl.draw(document.getElementById("searchcontrol"));
// Add the value of "Search..." to the input field and a class of .empty
}
google.setOnLoadCallback(function() {
$(function() {
OnLoad()
$(".gsc-input > input").val("Search... powered by Google").addClass("empty");
// When you click on #search
$(".gsc-input > input").focus(function(){
// If the value is equal to "Search..."
if($(this).val() == "Search... powered by Google") {
// remove all the text and the class of .empty
$(this).val("").removeClass("empty");;
}
this.select();
});
// When the focus on #search is lost
$(".gsc-input > input").blur(function(){
// If the input field is empty
if($(this).val() == "") {
// Add the text "Search..." and a class of .empty
$(this).val("Search... powered by Google").addClass("empty");
}
});
});
});
//]]>
</script>
</head>
<body>
<div class="container">
<div id="header" class="span-24">
<div id="menu" class="span-15 last">
<ul>
<li class="first"><a href="/">Home</a></li>
<li><a href="/about">About</a></li>
<li><a href="/blog">Blog</a></li>
<li><a href="/projects">Projects</a></li>
<li class="last"><a id="mail" href="">Contact</a></li>
</ul>
</div>
</div>
<div id="main" class="span-24">
<h2 class="class-h1-5">Page Not Found</h2>
<p class="med-para">Try searching or go back to the <a href="/">Home page</a></p>
<div class="sidebar-module">
<!-- <form id="search">
<input type="text" id="query" name="query"/>
<input type="submit" id="search-submit" value="Go" />
</form> -->
<div id="searchcontrol">
</div>
</div>
<div id="footer" class="span-24">
© 2012 Bilal Syed Hussain.
<a href="http://www.facebook.com/bilalsyedhussain">Facebook</a>
<a href="https://github.com/Bilalh">GitHub</a>
<a href="http://twitter.com/BilalsHussain">Twitter</a>
<a href="http://uk.linkedin.com/pub/bilal-syed-hussain/40/981/18">Linkedin</a>
<a href="https://plus.google.com/u/0/115924527404981938729/about">Google+</a>
</div>
</div>
</body>
</html>