/
index.html
84 lines (78 loc) · 2.84 KB
/
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
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="./css/bootstrap.css">
<link rel="stylesheet" type="text/css" href="./css/bootstrap-responsive.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script src="js/bootstrap.min.js"></script>
<div class="navbar navbar-static-top navbar-inverse">
<div class="navbar-inner">
<div class="container">
<ul class="nav">
<li><a href="index.html"><i class="icon-home icon-white center"></a></i></li>
<li class="span2"><a class="brand" href="index.html">ememorato</a></li>
<li class"span2"><a class="brand" href="blog.html">blog</a></li>
<li><a id="hideabout" onclick="showabout();return false;" class="brand" href="#">about</a></li>
</ul>
</div>
</div>
</div>
<div class="hero-unit row">
<div class="span4 offset1">
<img src="Mustachon.png" class="img-circle">
</div>
<div class="span4 offset1">
<h1>ememorato</h1>
<p>I've been told life works in a certain way and I should obey the rules. <b>I strongly disagree.</b></p>
<button id="btn" class="btn btn-inverse btn-large" onclick="showbio();return false;">Read more</button>
</div>
</div>
<div id="aboutme" class="hide">
<iframe src="http://about.me/ememorato" width="100%" height="800"></iframe>
</div>
<div id="bio" class="container hide row">
<div class="span6 offset1">
<h2>How it all began...</h2>
<p>While being in transit through foggy and uncertain times, life led me to a place where things are done differently. A place where freedom combined with intelligence is a royal combination. A place where the future morphs into present, leaving the rest of the world just watching, in awe. It is a place where drive and passion are highly contagious, ready to be absorbed through simple, automatic breathing. This is where my path began. I still don't know what will happen. The fog has not gone away entirely. I'm still moving forward.</p>
<button class="btn btn-inverse btn-small" onclick="hidebio();return false;">Hide text</button>
</div>
<div class="span3 offset1">
<img src="manu.jpg" class="img-rounded">
</div>
</div>
</body>
<script>
var aboutvisible=false;
var changebtn=false;
function showabout() {
if(aboutvisible) {
$('#aboutme').slideUp();
aboutvisible=false;
$('#hideabout').html('about');
}
else {
$('#aboutme').slideDown();
aboutvisible=true;
$('#hideabout').html('[hide about]');
}
}
function showbio() {
if(changebtn) {
$('#btn').html('Read more');
$('#bio').hide();
changebtn=false;
}
else {
$('#btn').html('Read less');
$('#bio').show();
changebtn=true;
}
}
function hidebio() {
$('#bio').hide();
}
</script>
</html>