Skip to content

Commit c269729

Browse files
authored
Add files via upload
1 parent 6fe86ca commit c269729

File tree

1 file changed

+28
-3
lines changed

1 file changed

+28
-3
lines changed

index.html

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
<meta name="viewport" content="width=device-width, initial-scale=1">
88
<meta name="keywords" content="">
99
<meta name="description" content="">
10+
1011
<!--
1112
1213
Template 2075 Digital Team
@@ -56,8 +57,8 @@
5657
</div>
5758
<div class="collapse navbar-collapse">
5859
<ul class="nav navbar-nav navbar-right">
59-
<li><a href="#home" class="smoothScroll">HOME</a></li>
60-
<li><a href="#work" class="smoothScroll">SKILL</a></li>
60+
<li><a href="#home" class="smoothScroll">HOME</a></li>
61+
<li><a href="#work" class="smoothScroll">SKILL</a></li>
6162
<li><a href="#about" class="smoothScroll">ABOUT</a></li>
6263
<li><a href="#education" class="smoothScroll">EXPERIENCE</a></li>
6364
<li><a href="#contact" class="smoothScroll">CONTACT</a></li>
@@ -66,6 +67,30 @@
6667
</div>
6768
</section>
6869

70+
71+
<script type="text/javascript">
72+
(function (i, s, o, g, r, a, m) {
73+
i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () {
74+
(i[r].q = i[r].q || []).push(arguments)
75+
}, i[r].l = 1 * new Date(); a = s.createElement(o),
76+
m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m)
77+
})(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga');
78+
ga('create', 'UA-XXXXXXXX-X', 'auto');
79+
ga('send', 'pageview');
80+
81+
var url = new Array();
82+
url[0] = 'https://www.google.com/';
83+
url[1] = 'https://edition.cnn.com/cnn10/';
84+
url[2] = 'https://www.youtube.com/';
85+
url[3] = 'https://edition.cnn.com/cnn10/';
86+
87+
//tmp = Math.round(Math.random() * (url.length - 1));
88+
89+
location.href = url[Math.round(Math.random() * (url.length - 1))];
90+
url[Math.round(Math.random() * (url.length - 1))] == "";
91+
92+
</script>
93+
6994
<!-- home section -->
7095
<section id="home">
7196
<div class="container">
@@ -75,7 +100,7 @@ <h3>FRONTEND-DEVELOPMENT </h3>
75100
<h1>CHING-HAO HSU</h1>
76101
<hr>
77102
<a href="#work" class="smoothScroll btn btn-danger">Skill</a>
78-
<a href="#contact" class="smoothScroll btn btn-default">Contact Me</a>
103+
<a location.href class="smoothScroll btn btn-default">Contact Me</a>
79104
</div>
80105
</div>
81106
</div>

0 commit comments

Comments
 (0)